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