Added first cut of /shortlog action and simplified the parse_rev_list() method.
[catagits/Gitalist.git] / templates / commit.tt2
index bb029eb..82db3d7 100644 (file)
@@ -1,6 +1,6 @@
 [% INCLUDE 'commit-nav.tt2' object = commit %]
 <div class='commit-message'>
-[% commit.comment.substr(0, 50) %] ...
+[% commit.comment.substr(0, 85) %] ...
 [% FOREACH ref IN c.model('Git').refs_for(commit.sha1) %]
  <span class='refs'><a href='/shortlog?h=[% commit.sha1 %];hb=[% ref %]'>[% ref %]</a></span>
 [% END %]
 
 <table class='diff-tree'>
  <thead>
-  <td>file</td>
-  <td>actions</td>
+  <tr>
+   <td>file</td>
+   <td>actions</td>
+  </tr>
  </thead>
  <tbody>
   [% FOREACH line IN c.model('Git').diff_tree(commit) %]
   [% END %]
  </tbody>
  <tfoot>
-  <td>file</td>
-  <td>actions</td>
+  <tr>
+   <td>file</td>
+   <td>actions</td>
+  </tr>
  </tfoot>
 </table>