Move all the templates back into the 'root' directory, otherwise make install will...
[catagits/Gitalist.git] / root / log.tt2
CommitLineData
61b56ed6 1[% INCLUDE 'nav/actions.tt2' object = commit %]
790ce598 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">
f71a83ab 16 <a href="[% c.uri_for("commit", {h=line.sha}) %]">commit</a>
17 | <a href="[% c.uri_for("commitdiff", {h=line.sha1}) %]">commitdiff</a>
18 | <a href="[% c.uri_for("tree", {h=line.sha1, hb=line.sha1}) %]">tree</a>
790ce598 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' %]