{if !$user.isAnonymous()}␊ |
{aurl 'url', 'IDF_Views_Review::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 'Start Code Review'}</a></p>{/if}␊ |
␊ |
{/block}␊ |
{block context}␊ |
{*␊ |
{aurl 'open_url', 'IDF_Views_Issue::index', array($project.shortname)}␊ |
{aurl 'closed_url', 'IDF_Views_Issue::listStatus', array($project.shortname, '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}␊ |
{assign $class = ''}{assign $i = 0}␊ |
<p class="smaller">{foreach $project.getTagCloud($cloud) as $label}␊ |
{aurl 'url', 'IDF_Views_Issue::listLabel', array($project.shortname, $label.id, 'open')}␊ |
{if $class != $label.class}{if $i != 0}<br />{/if}<strong class="label">{$label.class}:</strong> {/if}␊ |
<a href="{$url}" class="label">{$label.name}</a>,{assign $class = $label.class}{assign $i = $i + 1}{/foreach}</p>␊ |
*}{/block}␊ |