Indefero

Indefero Commit Details


Date:2011-04-01 07:14:30 (13 years 8 months ago)
Author:William MARTIN
Branch:develop, feature-issue_links, feature.better-home, feature.content-md5, feature.diff-whitespace, feature.download-md5, feature.issue-links, feature.issue-of-others, feature.issue-summary, feature.search-filter, feature.webrepos, feature.wiki-default-page, release-1.2, release-1.3
Commit:587aa11cdaec23f2b225a126c8b0e67dd5d9a1bb
Parents: d04ecd60c4c55edb1932e11369a3ac40f1ab7f9b
Message:Update the index template

Changes:

File differences

src/IDF/templates/idf/index.html
99
1010
1111
12
13
14
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
1529
1630
1731
{aurl 'url', 'IDF_Views_Admin::projectCreate'}
<p><a href="{$url}"><img style="vertical-align: text-bottom;" src="{media '/idf/img/add.png'}" alt="+" align="bottom" /></a> <a href="{$url}">{trans 'Create Project'}</a></p>{/if}
{else}
<ul>{foreach $projects as $p}
<li>{if $p.private}<img style="vertical-align: text-bottom;" src="{media '/idf/img/lock.png'}" alt="{trans 'Private project'}" /> {/if}<a href="{url 'IDF_Views_Project::home', array($p.shortname)}">{$p}</a>{if $p.shortdesc}, {$p.shortdesc}{/if}</li>
{/foreach}</ul>
{foreach $projects as $p}
<div class="p-list-img">
<a href="{url 'IDF_Views_Project::home', array($p.shortname)}">
{if $p.logo != 0}
<img src="{$p.logo}" alt="{trans 'Project logo'}" />
{else}
<img src="{media '/idf/img/no_logo.png'}" alt="{trans 'Project logo'}" />
{/if}
</a>
{if $p.private}<div class="p-list-private"><a href="{url 'IDF_Views_Project::home', array($p.shortname)}"><img style="float:right" src="{media '/idf/img/lock.png'}" alt="{trans 'Private project'}" /></a></div>{/if}
</div>
<div class="p-list-prj">
<p><a href="{url 'IDF_Views_Project::home', array($p.shortname)}"><strong>{$p}</strong></a>{if $p.private} - {trans 'Private project'}</p>{/if}</p>
{if $p.shortdesc}<p>{$p.shortdesc}</p>{/if}
</div>
<div style="clear: both"></div>
{/foreach}
{/if}
{/block}
{block context}
www/media/idf/css/style.css
10431043
10441044
10451045
1046
1047
1048
1049
1050
1051
1052
1053
1054
1055
1056
1057
1058
1059
1060
1061
1062
1063
1064
1065
1066
#stats td {
padding: .2em;
}
/*
* Project list on index
*/
div.p-list-img {
float: left;
}
div.p-list-prj {
float: left;
margin: 0 0 .5em 1em;
}
div.p-list-prj p {
margin: 0px;
}
.p-list-private {
bottom: 10px;
position: relative;
}

Archive Download the corresponding diff file

Page rendered in 0.09115s using 13 queries.