<%@ include file="/common/taglibs.jsp" %>
<head>
    <title>
        <c:choose>
            <c:when test="${empty issueFilter.title}">
                <fmt:message key="action.search"/>
            </c:when>
            <c:otherwise>
                ${issueFilter.title}
            </c:otherwise>
        </c:choose>
    </title>
</head>

<div class="toolbar">
      <h1 id="pageTitle">
          <c:choose>
            <c:when test="${empty issueFilter.title}">
                <fmt:message key="action.search"/>
            </c:when>
            <c:otherwise>
                ${issueFilter.title}
            </c:otherwise>
        </c:choose>
      </h1>
      <a id="backButton" class="button" href="${ctx}/iphone/dashboard"><fmt:message key="title.dashboard"/></a>
</div>

    <ul id="issues" title="${issueFilter.title}" selected="true">
        <s:iterator value="model">
            <li>
                <a href="${ctx}/iphone/issues/${id}">
                    <div class="issue-index">                       
                        <span class="priority">${priority.name}</span>
                        <span class="info">${subProject.project.name} &raquo; ${type.name} #${id}</span>
                        <span class="title">${title}</span>
                    </div>
                </a>
            </li>
        </s:iterator>
    </ul>
