Sorted out diffs so that diffing against parents, diffing merges and other such vecto...
[catagits/Gitalist.git] / templates / log.tt2
CommitLineData
790ce598 1[% INCLUDE 'commit-nav.tt2' object = commit %]
2
ad8884fc 3[% INCLUDE '_log_pager.tt2' %]
4
790ce598 5[%# XXX Nabbed the HTML below from gitweb's log action. %]
6[% FOREACH line IN log_lines %]
7<div class="header">
8 <a class="title" href="/commit?p=gitweb/.git;h=[% line.sha1 %]">
9 <span class="age">[% line.authored_time %]</span>
10 [% line.comment.substr(0, 50) | html %]
11 </a>
12</div>
13
14<div class="title_text">
15 <div class="log_link">
16 <a href="/commit?p=gitweb/.git;h=[% line.sha %]">commit</a>
17 | <a href="/commitdiff?p=gitweb/.git;h=[% line.sha1 %]">commitdiff</a>
18 | <a href="/tree?p=gitweb/.git;h=[% line.sha1 %];hb=[% line.sha1 %]">tree</a>
19 </div>
20 <i>[% line.author.name | html %] [% line.authored_time %]</i>
21</div>
22
23<div class="log_body">
24 [% line.comment | html %]
25</div>
26[% END %]
ad8884fc 27
28[% INCLUDE '_log_pager.tt2' %]