Stripe the tables and semantify the pages.
[catagits/Gitalist.git] / root / _shortlog.tt2
1 <table class='shortlog listing'>
2  <thead>
3   <tr>
4    <th>sha1</th>
5    <th>time</th>
6    <th>author</th>
7    <th>message</th>
8    <th>actions</th>
9   </tr>
10  </thead>
11
12  <tfoot>
13   <tr>
14    <td>sha1</td>
15    <td>time</td>
16    <td>author</td>
17    <td>message</td>
18    <td>actions</td>
19   </tr>
20  </tfoot>
21
22  <tbody>
23  [% FOREACH line IN log_lines %]
24   <tr>
25    <td class='sha1' title='[% line.sha1 %]'>[% INCLUDE '_chroma_hash.tt2' sha1 = line.sha1.substr(0, 7) %]</td>
26    <td class='time-since' title='[% line.authored_time %]'>[% time_since(line.authored_time) %]</td>
27    <td class='author'>[% line.author.name | html %]</td>
28    <td>
29      [% short_cmt(line.comment) | html %]
30      [% INCLUDE '_refs.tt2' object = line %]
31    </td>
32    <td class='action-list'>
33      <a href="[% c.uri_for("commit", {h=line.sha1}) %]">commit</a>
34      <a href="[% c.uri_for("commitdiff", {h=line.sha1}) %]">commitdiff</a>
35      <a href="[% c.uri_for("tree", {h=line.sha1, hb=line.sha1}) %]">tree</a>
36    </td>
37   </tr>
38  [% END %]
39  </tbody>
40 </table>