[% META title = 'GitLog' %]
[% # PROCESS dumper.tt dump = request.referer %]
<div class="container">
<div class="row">
<legend class="form-file-upload-heading">
Version history
</legend>
</div>
<div class="row">
<div class="span12">
<span class="pull-right">
<a href="[% request.uri_for('/') %]">« return</a>
</span>
<table class="table table-bordered table-striped table-condensed">
<tr>
<th>#</th>
<th>When</th>
<th>Detail</th>
</tr>
[% count = log.size %]
[% FOREACH line IN log;
# remove double-quote from beginning & end of line and split:
data = line.replace('\A"|"\Z', '').split(' :: ');
%]
<tr>
<td>[% count %]</td>
<td class="text-nowrap">[% data.0 %]</td>
<td class="wrap">[% data.1 %]</td>
</tr>
[% count = count - 1; END %]
</table>
</div>
</div>
</div>