{extends "idf/issues/base.html"} {block docclass}yui-t2{/block} {block body} {$issues.render} {if !$user.isAnonymous()} {aurl 'url', 'IDF_Views_Issue::create', array($project.shortname)}

+ {trans 'New Issue'}

{/if} {/block} {block context} {aurl 'open_url', 'IDF_Views_Issue::searchStatus', array($project.shortname, 'open'), array('q' => $query)} {aurl 'closed_url', 'IDF_Views_Issue::searchStatus', array($project.shortname, 'closed'), array('q' => $query)} {if $tag != null} {aurl 'open_url', 'IDF_Views_Issue::searchLabel', array($project.shortname, $tag.id, 'open'), array('q' => $query)} {aurl 'closed_url', 'IDF_Views_Issue::searchLabel', array($project.shortname, $tag.id, 'closed'), array('q' => $query)} {/if} {blocktrans}

Found open issues: {$open}

Found closed issues: {$closed}

{/blocktrans} {if $tag !== null} {blocktrans}

Label: {$tag.class}:{$tag.name}

{/blocktrans} {else} {* yes, this is duplicated from tags-cloud.html, but the code there cannot be easily overridden *}
{foreach $all_tags as $class => $labels}
{$class}
{foreach $labels as $idx => $label} {aurl 'url', 'IDF_Views_Issue::searchLabel', array($project.shortname, $label.id, $status), array('q'=> $query)}
{$label.name}{if $idx != count($labels) - 1},{/if}
{/foreach}{/foreach}
{/if} {/block}