indefero/src/IDF/templates/idf/issues/my-issues.html

19 lines
1.3 KiB
HTML
Raw Normal View History

{extends "idf/issues/base.html"}
{block docclass}yui-t2{assign $inMyIssues = true}{/block}
2008-07-25 08:26:05 +00:00
{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}
2008-07-25 08:26:05 +00:00
{/block}
{block context}
{aurl 'owner_url', 'IDF_Views_Issue::myIssues', array($project.shortname, 'owner')}
{aurl 'submit_url', 'IDF_Views_Issue::myIssues', array($project.shortname, 'submit')}
{aurl 'owner_closed_url', 'IDF_Views_Issue::myIssues', array($project.shortname, 'ownerclosed')}
{aurl 'submit_closed_url', 'IDF_Views_Issue::myIssues', array($project.shortname, 'submitclosed')}
<p><strong>{trans 'Submitted issues:'}</strong> <a href="{$submit_url}">{$nb_submit}</a> {if $nb_submit_closed}<span class="nobrk">(<a href="{$submit_closed_url}">{blocktrans $nb_submit_closed}{$nb_submit_closed} closed{plural}{$nb_submit_closed} closed{/blocktrans}</a>)</span>{/if}</p>
2008-07-25 08:26:05 +00:00
{if $nb_owner > 0}
<p><strong>{trans 'Working issues:'}</strong> <a href="{$owner_url}">{$nb_owner}</a> {if $nb_owner_closed}<span class="nobrk">(<a href="{$owner_closed_url}">{blocktrans $nb_owner_closed}{$nb_owner_closed} closed{plural}{$nb_owner_closed} closed{/blocktrans}</a>)</span>{/if}</p>{/if}
2008-07-25 08:26:05 +00:00
{/block}