Remove the description if it is the default "Unnamed repo..."
[catagits/Gitalist.git] / root / fragment / collectionofrepositories.tt2
CommitLineData
eab82ed1 1<tbody>
2[% FOR p IN repositories %]
3 [%- repos_link = c.uri_for_action('/repository/summary', [p.name]) -%]
4<tr [% "class='invert'" IF loop.count % 2 %]>
5 <td>[% loop.count %]</td>
6 <td><a href="[% repos_link %]/shortlog"><strong>[% p.name %]</strong></a></td>
8d491fb3 7 <td class="description"><div title="[% p.description %]">[% abridged_description(p.description) IF p.description != "Unnamed repository; edit this file to name it for gitweb." %]</div></td>
066e9aa4 8 <td class="time-since">[% time_since(p.last_change) %]</td>
eab82ed1 9 <td>[% p.owner %]</td>
10 <td class="action-list">
11 <a href="[% c.uri_for_action('/repository/shortlog', [p.name]) %]" title="Short log" class="button shortlog">short log</a>
12 <a href="[% c.uri_for_action('/repository/longlog', [p.name]) %]" title="Long log" class="button longlog">long log</a>
13 <a href="[% c.uri_for_action('/ref/tree', [p.name, 'HEAD']) %]" title="Tree" class="button tree">tree</a>
14 </td>
066e9aa4 15</tr>
eab82ed1 16[% END %]
066e9aa4 17</tbody>