just before the search input field. Also rename "Open Issues" to "All Issues" (since one can view both, open and closed issues under this view, just like in every other issue list view we have) and mark "All Issues" as active if we filter by label.
23 lines
1.1 KiB
HTML
23 lines
1.1 KiB
HTML
{extends "idf/issues/base.html"}
|
|
{block docclass}yui-t1{assign $inAllIssues=true}{/block}
|
|
{block body}
|
|
{$issues.render}
|
|
{if !$user.isAnonymous()}
|
|
{aurl 'url', 'IDF_Views_Issue::create', array($project.shortname)}
|
|
<p><a href="{$url}"><img style="vertical-align: text-bottom;" src="{media '/idf/img/add.png'}" alt="+" align="bottom" /></a> <a href="{$url}">{trans 'New Issue'}</a></p>{/if}
|
|
|
|
{/block}
|
|
{block context}
|
|
{aurl 'open_url', 'IDF_Views_Issue::listLabel', array($project.shortname, $label.id, 'open')}
|
|
{aurl 'closed_url', 'IDF_Views_Issue::listLabel', array($project.shortname, $label.id, 'closed')}
|
|
{blocktrans}<p><strong>Open issues:</strong> <a href="{$open_url}">{$open}</a></p>
|
|
<p><strong>Closed issues:</strong> <a href="{$closed_url}">{$closed}</a></p>
|
|
{/blocktrans}
|
|
<p><strong>{trans 'Label:'}</strong>
|
|
{aurl 'url', 'IDF_Views_Issue::listLabel', array($project.shortname, $label.id, 'open')}
|
|
<a href="{$url}" class="label"><strong>{$label.class}:</strong>{$label.name}</a></p>
|
|
{if $completion}
|
|
<p><strong>{trans 'Completion:'}</strong> {$completion}</p>
|
|
{/if}
|
|
{/block}
|