The blame view now looks similar to the blob so a bit easier on the eyes.
[catagits/Gitalist.git] / root / summary.tt2
index 20f078f..be4b3e1 100644 (file)
@@ -1,15 +1,22 @@
-[% PROCESS 'nav/actions.tt2' object = head %]
-
-<div class='summary'>
-<dl>
-<dt>description</dt><dd>[% Project.description %]</dd>
-<dt>owner</dt><dd>[% Project.owner %]</dd>
-<dt>last change</dt><dd>[% Project.last_change %]</dd>
-</dl>
-</div>
+[% PROCESS 'nav/actions.tt2' object = commit %]
+
+<div class='summary content'>
+<!-- <div id='stats'>
+  <dt>Number of commits in the last day</dt><dd>N</dd>
+  <dt>Most frequent commiter in the last week</dt><dd>Foo</dd>
+  <dt>Hottest file in the repo</dt><dd>Bar.baz</dd>
+  <dt>Current hue</dt><dd>either HEAD or some arbitrary munging</dd>
+ </div> -->
 
-<h2><a href='[% c.uri_for("shortlog") %]'>shortlog</a></h2>
-[% INCLUDE '_shortlog.tt2' %]
+ <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("heads") %]'>branches</a></h2>
-[% INCLUDE '_heads.tt2' %]
+  <h2><a href='[% c.uri_for("shortlog") %]'>shortlog</a></h2>
+  [% INCLUDE '_shortlog.tt2' %]
+
+  <h2><a href='[% c.uri_for("heads") %]'>branches</a></h2>
+  [% INCLUDE '_heads.tt2' %]
+</div>