* Use a table.

This commit is contained in:
Eelco Dolstra 2009-11-04 14:41:19 +00:00
parent 3e5e49debd
commit 6869591f63

View file

@ -12,11 +12,23 @@
<p>This project has made the following releases:</p>
<ul>
[% FOREACH release IN releases %]
<li><a href="[% c.uri_for('/release' project.name release.name) %]"><tt>[% release.name %]</tt></a></li>
[% END %]
</ul>
<table class="tablesorter">
<thead>
<tr>
<th>Name</th>
<th>Date</th>
</tr>
</thead>
<tbody>
[% FOREACH release IN releases %]
[% link = c.uri_for('/release' project.name release.name) %]
<tr class="clickable" onclick="window.location = '[% link %]'">
<td><a href="[% link %]"><tt>[% release.name %]</tt></a></td>
<td>[% INCLUDE renderDateTime timestamp = release.timestamp %]</td>
</tr>
[% END %]
</tbody>
</table>
[% END %]