Fixed in part issue 56, the templates are in the idf subfolder.
This commit is contained in:
15
src/IDF/templates/idf/index.html
Normal file
15
src/IDF/templates/idf/index.html
Normal file
@@ -0,0 +1,15 @@
|
||||
{extends "idf/base-simple.html"}
|
||||
{block docclass}yui-t1{/block}
|
||||
{block body}
|
||||
{if $projects.count() == 0}
|
||||
<p>{trans 'No projects managed with InDefero were found.'}</p>
|
||||
{if $user.administrator}<p>{blocktrans}Create a new project.{/blocktrans}</p>{/if}
|
||||
{else}
|
||||
<ul>{foreach $projects as $p}
|
||||
<li><a href="{url 'IDF_Views_Project::home', array($p.shortname)}">{$p}</a></li>
|
||||
{/foreach}</ul>
|
||||
{/if}
|
||||
{/block}
|
||||
{block context}
|
||||
<p><strong>{trans 'Managed Projects:'}</strong> {$projects.count()}</p>
|
||||
{/block}
|
Reference in New Issue
Block a user