final design tidy up - handing over now
[catagits/Gitalist.git] / root / fragment / repository / longlog.tt2
old mode 100644 (file)
new mode 100755 (executable)
index c4f8cec..33c9b88
@@ -1,32 +1,5 @@
-  <div id='log'>
-  [% FOREACH line IN log_lines %]
-    <div class='entry'>
-    <div class="message">
-       [% message = line.comment | html;
-         message.replace("\n", "<br/>") %]
-       <div class='chroma-hash'>[% INCLUDE 'inc/chroma_hash.tt2' sha1 = line.sha1 %]</div>
-      </div>
-      <div class="meta">
-       <table class='summary' cellspacing='0' cellpadding='0'>
-       <tr><td>author</td><td class='author'>
-           <img style="float: left; padding-right: 10px" src="[% uri_for_gravatar(line.author.email, 20) %]">
-           [% line.author.name | html %]</td></tr>
-       <tr><td>authored time</td><td class='time'>[% time_since(line.authored_time) %]</td></tr>
-       [% IF line.author.name != line.committer.name %]
-       <tr><td>committer</td><td class='author'>
-           <img style="float: left; padding-right: 10px" src="[% uri_for_gravatar(line.author.email, 20) %]">
-           [% line.committer.name | html %]
-       </td></tr>
-       <tr><td>committered time</td><td class='time'>[% line.committed_time %]</td></tr>
-       [% END %]
-       </table>
-       <span class="time-since">[% time_since(line.authored_time) %]</span>
-       <div class="action-list">
-        <a href="[% c.uri_for_action("/ref/commit", [Repository.name, line.sha1]) %]">commit</a>
-       | <a href="[% c.uri_for_action("/ref/diff_fancy", [Repository.name, line.sha1]) %]">commitdiff</a>
-       | <a href="[% c.uri_for_action("/ref/tree", [Repository.name, line.sha1]) %]">tree</a>
-       </div>
-      </div>
-    </div>
-  [% END %]
-  </div>
+[% INCLUDE 'fragment/repository/shortlog.tt2' longlogformat = 1 %]
+
+
+<h2>Branches</h2>
+[% subinclude('/fragment/repository/heads', c.req.captures) %]
\ No newline at end of file