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/summary.html | 81 ++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 81 insertions(+) create mode 100644 views/summary.html (limited to 'views/summary.html') diff --git a/views/summary.html b/views/summary.html new file mode 100644 index 0000000..ce92a60 --- /dev/null +++ b/views/summary.html @@ -0,0 +1,81 @@ + + + +git » {{repo.name}} + + + + + +

git » {{repo.name}}

+ +

{{repo.info.desc}}

+ + +% if repo.info.web_url or repo.info.git_url: + + +% if repo.info.web_url: + + + + +% end +% if repo.info.git_url: + + + + +% end + +
website + {{repo.info.web_url}}
repository{{! '
'.join(repo.info.git_url.split())}}
+
+% end + +% if "master" in repo.branch_names(): +% kwargs = dict(repo = repo, start_ref = "refs/heads/master", +% limit = repo.info.commits_in_summary, +% shorten = shorten, repo_root = ".", offset = 0) +% include commit-list **kwargs +% end + +
+ + + + + + + % for b in repo.branch_names(): + + + + + + %end +
branches
{{b}}
+ +
+ +% tags = list(repo.tags()) +% if tags: + + + + + + % for name, obj_id in tags: + + + + %end +
tags
{{name}}
+% end + + + + -- cgit v1.2.3