From 80ef0017d47f536bf2c8c6af4b514efa50071a23 Mon Sep 17 00:00:00 2001 From: Alberto Bertogli Date: Sun, 16 Sep 2012 11:17:56 +0100 Subject: Initial commit Signed-off-by: Alberto Bertogli --- views/commit.html | 72 +++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 72 insertions(+) create mode 100644 views/commit.html (limited to 'views/commit.html') diff --git a/views/commit.html b/views/commit.html new file mode 100644 index 0000000..9a9e99d --- /dev/null +++ b/views/commit.html @@ -0,0 +1,72 @@ + + + +git » {{repo.name}} » commit {{c.id[:7]}} + + + + + + +

git » + {{repo.name}} » commit {{c.id[:7]}} +

+ +

{{c.subject}}

+ + + + + + + +% for p in c.parents: + + +% end +
author{{c.author_name}} +
+ + {{c.author_date.utc}} UTC
committer{{c.author_name}} +
+ + {{c.author_date.utc}} UTC
parent{{p}}
+ +
+ +
+{{c.message.strip()}}
+
+ +
+ +% if c.diff.changes: + + +% for added, deleted, fname in c.diff.changes: + + + + + +% end +
{{!fname.html}}+{{added}}-{{deleted}}
+ +
+ +% if has_colorizer(): +{{!colorize_diff(c.diff.body)}} +% else: +
+{{c.diff.body}}
+
+% end + +
+ +% end + + + + -- cgit v1.2.3