]> iEval git - gruntmaster-page.git/blame - tmpl/log.en
Fix access to problems again
[gruntmaster-page.git] / tmpl / log.en
CommitLineData
9da2f495
MG
1<table border class="table table-bordered table-striped">
2<thead>
3<tr><th>ID<th>Problem<th>Date<th>Size<th>User<th>Result
4<tbody>
491e82eb 5<tmpl_loop log><tr><td><a href="/log/<tmpl_var id>"><tmpl_var id></a>
1f5ed925 6<td><a href="../pb/<tmpl_var problem>"><tmpl_var problem_name></a>
d3200993 7<td><%perl __OUT__ POSIX::strftime '%c', localtime __CURRENT__->{date}; %>
491e82eb 8<td><a href="/log/src/<tmpl_var id>.<tmpl_var extension>"<tmpl_if private> data-private</tmpl_if>><%perl __OUT__ sprintf '%.2fKB', __CURRENT__->{size}/1024; %></a>
d3200993
MG
9<td><a href="/us/<tmpl_var owner>"><tmpl_if owner_name><tmpl_var owner_name><tmpl_else><tmpl_var user></tmpl_if></a>
10<td class="r<tmpl_var result>"><tmpl_var result_text>
9da2f495
MG
11</tmpl_loop>
12</table>
13
14<ul class="pager">
6a6fea8d
MG
15<%perl if (__CURRENT__->{page} > 1) { %><li class="previous"><a href="<tmpl_if default_page>page/</tmpl_if><%perl __OUT__ __CURRENT__->{page} - 1; %>">Previous</a><%perl } %>
16<%perl if (__CURRENT__->{page} < __CURRENT__->{pages} - 1) { %><li class="next"><a href="<%perl __OUT__ __CURRENT__->{page} + 1; %>">Next</a><%perl } %>
9da2f495 17</ul>
This page took 0.022061 seconds and 4 git commands to generate.