Add log action for commits
[catagits/Gitalist.git] / root / ref / blame.tt2
1 [%- BLOCK blame_table_headfoot %]
2 <tr>
3  <td>author</td>
4  <td>date</td>
5  <td>sha1</td>
6  <td></td>
7  <td class='data'>data</td>
8 </tr>
9 [% END -%]
10 [% PROCESS 'nav/actions.tt2' object = head %]
11 [%- INCLUDE inc/syntax_highlight_css.tt2 -%]
12
13 <div class='content'>
14
15 [% IF object.type == 'commit' %]
16 <div class='commit-message'>[% short_cmt(head.comment) %]</div>
17 [% END %]
18
19 [% INCLUDE 'nav/path.tt2' %]
20
21 <div id='blame'>
22 <table>
23  <thead>
24   [% PROCESS blame_table_headfoot %]
25  </thead>
26
27  <tfoot>
28    [% PROCESS blame_table_headfoot %]
29  </tfoot>
30
31  <tbody>
32  [% subinclude('/fragment/ref/blame', c.req.captures, c.req.arguments.to_path ) %]
33  </tbody>
34 </table>
35 </div>
36
37 </div>