22 lines
1.2 KiB
HTML
22 lines
1.2 KiB
HTML
|
{extends "idf/review/base.html"}
|
||
|
{block docclass}yui-t2{assign $inOpenReviews=true}{/block}
|
||
|
{block body}
|
||
|
{$reviews.render}
|
||
|
{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 'New 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}
|