[% PROCESS 'nav/actions.tt2' object = head %]
[% INCLUDE inc/syntax_highlight_css.tt2 %]
[% IF object.type == 'commit' %]
[% short_cmt(head.comment) %]
[% END %]
[% INCLUDE 'nav/path.tt2' %]
author |
date |
sha1 |
|
data |
author |
date |
sha1 |
|
data |
[% blame_lines = blob.split("\n") %]
[% FOR info IN blame %]
[%-
linecolour = info.commit.sha1.substr(0,6);
IF info.commit.sha1 != lastsha1;
styleinfo = " style='border-top: solid 3px #" _ linecolour _ ";'"; -%]
[% info.commit.author %] |
[% info.commit.author_dt.ymd %] |
[% linecolour %] |
[%- ELSE -%]
|
|
|
[%- END -%]
[% info.meta.lineno %] |
[% blame_lines.${loop.index} %] |
[% lastsha1 = info.commit.sha1 %]
[% END %]