Started the switch from hand-written URLs to uri_for.
[catagits/Gitalist.git] / templates / log.tt2
1 [% INCLUDE 'nav/actions.tt2' object = commit %]
2
3 [% INCLUDE '_log_pager.tt2' %]
4
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 %]
27
28 [% INCLUDE '_log_pager.tt2' %]