Provide option to disable gravatars.
[catagits/Gitalist.git] / root / ref / diff_fancy.tt2
1
2 <table class='listing'>
3 <thead>
4 <tr>
5         <th>ID (sha1)</th>
6         <th>Last change</th>
7         <th>Message</th>
8         <th>By</th>
9 </tr>
10 </thead>
11 <tbody>
12 <tr class="invert">
13         <td class='sha1' title='[% Commit.sha1 %]'>[% INCLUDE 'inc/chroma_hash.tt2' sha1 = Commit.sha1.substr(0, 7) %]</td>
14         <td class='time-since' title='[% Commit.authored_time %]'>[% time_since(Commit.authored_time) %]</td>
15         <td>[% short_cmt(Commit.comment) | html %]</td>
16         <td class='author'>[% INCLUDE 'inc/gravatar.tt2' email = Commit.committer.email %][% Commit.author.name | html %]</td>
17 </tr>
18 </tbody>
19 </table>
20
21
22   [%
23     # What I really want is @{ c.req.args }
24     subinclude('/fragment/' _ c.action, c.req.captures, c.req.args.0 c.req.args.1)
25   %]