Win32 can have git binaries with extensions, and non-/ path separators
[catagits/Gitalist.git] / root / repository / summary.tt2
old mode 100644 (file)
new mode 100755 (executable)
index 26fe59d..a819455
@@ -1,15 +1,15 @@
-[% PROCESS 'nav/actions.tt2' object = commit %]
 
-<div class='summary content'>
- <dl>
-  <dt>description</dt><dd>[% Repository.description %]</dd>
-  <dt>owner</dt><dd>[% Repository.owner %]</dd>
-  <dt>last change</dt><dd>[% Repository.last_change %]</dd>
- </dl>
 
-  <h2><a href='[% c.uri_for(c.controller.action_for('shortlog'), c.req.captures) %]'>shortlog</a></h2>
-  [% subinclude('/repository/shortlog', c.req.captures) %]
+  <!-- [% subinclude('/fragment/repository/summary', c.req.captures) %]
+
+ <h2><a href='[% c.uri_for(c.controller.action_for('shortlog'), c.req.captures) %]'>shortlog</a></h2> -->
+  [% subinclude('/fragment/repository/shortlog', c.req.captures) %]
+
+  <h2><a href='[% c.uri_for(c.controller.action_for('heads'), c.req.captures) %]'>Branches</a></h2>
+  [% subinclude('/fragment/repository/heads', c.req.captures, c.config.paging.summary) %]
+
+  [% IF Repository.tags.size > 0 %]
+  <h2><a href='[% c.uri_for(c.controller.action_for('tags'), c.req.captures) %]'>Tags</a></h2>
+  [% subinclude('/fragment/repository/tags', c.req.captures, c.config.paging.summary) %]
+  [% END %]
 
-  <h2><a href='[% c.uri_for(c.controller.action_for('heads'), c.req.captures) %]'>branches</a></h2>
-  [% subinclude('/repository/heads', c.req.captures) %]
-</div>