2008-11-18 08:15:02 +00:00
|
|
|
{extends "idf/issues/base.html"}
|
2008-08-13 20:11:08 +00:00
|
|
|
{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)}
|
2008-08-02 20:26:50 +00:00
|
|
|
<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')}
|
2009-02-27 14:08:56 +00:00
|
|
|
{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}
|
2009-02-27 14:08:56 +00:00
|
|
|
<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}
|