Change everything round to be /ref/ instead of /commit/ as this makes more sense
[catagits/Gitalist.git] / root / ref / diff_fancy.tt2
diff --git a/root/ref/diff_fancy.tt2 b/root/ref/diff_fancy.tt2
new file mode 100644 (file)
index 0000000..bdecf06
--- /dev/null
@@ -0,0 +1,14 @@
+[% PROCESS 'nav/actions.tt2' object = commit %]
+
+<div class='content'>
+  <div class='commit-message'>
+  [% short_cmt(Commit.comment) | html %]
+  </div>
+
+  <div style="padding-bottom: 20px" class='author'>
+    <img style="float: left; padding-right: 10px" src="[% uri_for_gravatar(Commit.committer.email, 40) %]">[% Commit.author.name | html %] <br />[% time_since(Commit.authored_time) %]
+  </div>
+
+
+  [% subinclude('/fragment/ref/diff_fancy', c.req.captures c.req.args.to_path) %]
+</div>