aboutsummaryrefslogtreecommitdiff
path: root/views/summary.html
diff options
context:
space:
mode:
authorAlberto Bertogli <albertito@blitiri.com.ar>2017-08-27 20:17:26 +0200
committerAlberto Bertogli <albertito@blitiri.com.ar>2017-08-27 20:17:26 +0200
commit5def4c9e01c87073d743a71827fee1be0ee41881 (patch)
tree3dc436a17b12c94316d93d72011fea0f03878d2b /views/summary.html
parent891a9443817329492c75ad99b8ff8899c460dee1 (diff)
downloadgit-arr-fork-5def4c9e01c87073d743a71827fee1be0ee41881.zip
views: Include the root tree in the summary
Including the tree as part of the summary gives a bit more information and provides an easy path into the tree. It does clutter things a bit, so this is an experiment and may be removed later.
Diffstat (limited to 'views/summary.html')
-rw-r--r--views/summary.html5
1 files changed, 5 insertions, 0 deletions
diff --git a/views/summary.html b/views/summary.html
index d30e895..652ee6e 100644
--- a/views/summary.html
+++ b/views/summary.html
@@ -35,6 +35,11 @@
% end
% if "master" in repo.branch_names():
+<b><a href="b/master/t/">[master]</a> /</b><br/>
+% kwargs = dict(repo = repo, tree=repo.tree("master"),
+% treeroot="b/master/t", dirname=smstr.from_url(""))
+% include tree-list **kwargs
+<hr/>
% kwargs = dict(repo = repo, start_ref = "refs/heads/master",
% limit = repo.info.commits_in_summary,
% shorten = shorten, repo_root = ".", offset = 0)