2009-10-21 15:44:17 +00:00
|
|
|
|
[% WRAPPER layout.tt title="Releases for Project ‘$project.name’" %]
|
|
|
|
|
[% PROCESS common.tt %]
|
|
|
|
|
[% USE HTML %]
|
|
|
|
|
|
2012-04-17 14:53:11 +00:00
|
|
|
|
<div class="page-header"><h1>Releases for Project <tt>[% project.name %]</tt></h1></div>
|
2009-10-21 15:44:17 +00:00
|
|
|
|
|
|
|
|
|
[% IF releases.size == 0 %]
|
|
|
|
|
|
|
|
|
|
<p><em>This project has no releases yet.</em></p>
|
|
|
|
|
|
|
|
|
|
[% ELSE %]
|
|
|
|
|
|
2009-10-23 15:57:18 +00:00
|
|
|
|
<p>This project has made the following releases:</p>
|
|
|
|
|
|
2012-04-12 18:12:07 +00:00
|
|
|
|
<table class="tablesorter table table-condensed table-striped">
|
2009-11-04 14:41:19 +00:00
|
|
|
|
<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>
|
2009-10-21 15:44:17 +00:00
|
|
|
|
|
|
|
|
|
[% END %]
|
|
|
|
|
|
2009-10-23 15:57:18 +00:00
|
|
|
|
[% IF c.user_exists %]
|
2012-04-17 14:53:11 +00:00
|
|
|
|
<p><a class="btn" href="[% c.uri_for('/project' project.name 'create-release') %]">
|
|
|
|
|
<i class="icon-plus"></i> Create a release
|
|
|
|
|
</a></p>
|
2009-10-23 15:57:18 +00:00
|
|
|
|
[% END %]
|
2009-10-21 15:44:17 +00:00
|
|
|
|
|
|
|
|
|
[% END %]
|