2008-11-18 09:15:02 +01:00
|
|
|
{extends "idf/issues/base.html"}
|
2008-08-13 18:26:36 +02:00
|
|
|
{block docclass}yui-t2{/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}
|
2011-10-03 01:54:01 +02:00
|
|
|
{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}
|
|
|
|
<p><strong>Found open issues:</strong> <a href="{$open_url}">{$open}</a></p>
|
|
|
|
<p><strong>Found closed issues:</strong> <a href="{$closed_url}">{$closed}</a></p>{/blocktrans}
|
|
|
|
{if $tag !== null}
|
|
|
|
{blocktrans}<p><strong>Label:</strong>
|
|
|
|
<a href="{$open_url}" class="label"><strong>{$tag.class}:</strong>{$tag.name}</a></p>{/blocktrans}
|
|
|
|
{else}
|
|
|
|
{* yes, this is duplicated from tags-cloud.html, but the code there cannot be easily overridden *}
|
|
|
|
<div id="tagscloud" class="smaller"><dl>{foreach $all_tags as $class => $labels}
|
|
|
|
<dt class="label">{$class}</dt>
|
|
|
|
{foreach $labels as $idx => $label}
|
|
|
|
{aurl 'url', 'IDF_Views_Issue::searchLabel', array($project.shortname, $label.id, $status), array('q'=> $query)}
|
|
|
|
<dd><a href="{$url}" class="label">{$label.name}{if $idx != count($labels) - 1},{/if}</a></dd>
|
|
|
|
{/foreach}{/foreach}</dl></p>
|
|
|
|
{/if}
|
2008-08-13 18:26:36 +02:00
|
|
|
{/block}
|