allura
Révision | b0c3c52de2ed0f2d2db785db7480da4857c8bbc1 (tree) |
---|---|
l'heure | 2010-05-07 06:17:31 |
Auteur | Jenny Steele <jsteele@geek...> |
Commiter | Jenny Steele |
[#351] Tweaks to project list view
@@ -6,8 +6,10 @@ | ||
6 | 6 | <?python from itertools import islice ?> |
7 | 7 | <a href="${value.url()}"><img src="${value.icon and value.url()+'icon' or '/images/project_default.png'}" alt="$value.name Icon" class="fleft icon clear" /></a> |
8 | 8 | <h2><a href="${value.url()}">$value.name</a></h2> |
9 | -<div py:for="author in islice(value.users(), 5)" class="gravatar sm"> | |
10 | - ${gravatar(author.preferences.email_address, size=16)}<a href="${author.url()}">$author.display_name</a> | |
9 | +<div class="gravatar sm"> | |
10 | + <a href="${author.url()}" py:for="i,author in enumerate(islice(value.users(), 8))"> | |
11 | + ${gravatar(author.preferences.email_address, size=16)}<br py:if="i==3"/> | |
12 | + </a> | |
11 | 13 | </div> |
12 | 14 | <p>${h.text.truncate(value.short_description, 50)}<br /> |
13 | 15 | <a href="${accolade.award.longurl()}" py:for="accolade in value.accolades" title="$accolade.award.full"><small class="badge $accolade.award.short">$accolade.award.short</small></a> |