Added a search engine in the issues.

This commit is contained in:
Loic d'Anterroches
2008-08-13 18:26:36 +02:00
parent 5275a1a9d6
commit a1e10bd169
11 changed files with 385 additions and 18 deletions

View File

@@ -0,0 +1,12 @@
{extends "issues/base.html"}
{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}
<p><strong>{trans 'Found issues:'}</strong> {$issues.nb_items}</p>
{/block}