indefero/src/IDF/templates/idf/project/home.html

37 lines
1.3 KiB
HTML
Raw Normal View History

{extends "idf/base.html"}
{block docclass}yui-t2{/block}
2008-07-29 19:18:02 +00:00
{block tabhome} class="active"{/block}
{block subtabs}
<div id="sub-tabs">
{trans 'Welcome'} | <a href="{url 'IDF_Views_Project::timeline', array($project.shortname)}">{trans 'Updates'}</a>{superblock}
2008-07-29 19:18:02 +00:00
</div>
{/block}
{block body}
{$project.description|markdown}
2008-07-29 19:18:02 +00:00
{/block}
{block context}
{if count($downloads) > 0}
<p><strong>{trans 'Featured Downloads'}</strong><br />
{foreach $downloads as $download}
<span class="label"><a href="{url 'IDF_Views_Download::view', array($project.shortname, $download.id)}" title="{$download.summary}">{$download}</a></span><br />
{/foreach}
<span class="label"> </span><span class="note"><a href="{url 'IDF_Views_Download::index', array($project.shortname)}">{trans 'show more...'}</a></span>
{/if}
2008-07-29 19:18:02 +00:00
{assign $ko = 'owners'}
{assign $km = 'members'}
<p><strong>{trans 'Development Team'}</strong><br />
{trans 'Admins'}<br />
{foreach $team[$ko] as $owner}{aurl 'url', 'IDF_Views_User::view', array($owner.login)}
<span class="label"><a class="label" href="{$url}">{$owner}</a></span><br />
2008-07-29 19:18:02 +00:00
{/foreach}
{if count($team[$km]) > 0}
{trans 'Happy Crew'}<br />
{foreach $team[$km] as $member}{aurl 'url', 'IDF_Views_User::view', array($member.login)}
<span class="label"><a class="label" href="{$url}">{$member}</a></span><br />
2008-07-29 19:18:02 +00:00
{/foreach}
{/if}
</p>
{/block}