1 <link rel="stylesheet" type="text/css" href="/static/css/syntax/[% language %].css"/>
2 [% PROCESS 'nav/actions.tt2' object = head %]
3 [% IF object.type == 'commit' %]
4 <div class='commit-message'>[% short_cmt(head.comment) %]</div>
7 [% INCLUDE 'nav/path.tt2' %]
17 <th class='data'>data</th>
27 <td class='data'>data</td>
32 [% blame_lines = blob.split("\n") %]
33 [% FOR info IN blame %]
36 linecolour = info.commit.sha1.substr(0,6);
37 IF info.commit.sha1 != lastsha1;
38 styleinfo = " style='border-top: solid 3px #" _ linecolour _ ";'"; -%]
39 <td class='author'[% styleinfo %]>[% info.commit.author %]</td>
40 <td class='date'[% styleinfo %]>[% info.commit.author_dt.ymd %]</td>
41 <td class='commit-info chroma-hash'[% styleinfo %]><a title="[% info.commit.author %] on [% info.commit.author_dt %]" href='[% c.uri_for('commit', {h=info.commit.sha1}) %]'>[% linecolour %]</td>
43 <td class='author'></td>
44 <td class='date'></td>
45 <td class='commit-info'></td>
47 <td class='lineno' style='border-right: solid 3px #[% linecolour %]; border-left: solid 3px #[% linecolour %];'><tt>[% info.meta.lineno %]</tt></td>
48 <td class='data'><pre>[% blame_lines.${loop.index} %]</pre></td>
49 [% lastsha1 = info.commit.sha1 %]