From 5def4c9e01c87073d743a71827fee1be0ee41881 Mon Sep 17 00:00:00 2001 From: Alberto Bertogli Date: Sun, 27 Aug 2017 19:17:26 +0100 Subject: 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. --- views/summary.html | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'views/summary.html') 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(): +[master] /
+% kwargs = dict(repo = repo, tree=repo.tree("master"), +% treeroot="b/master/t", dirname=smstr.from_url("")) +% include tree-list **kwargs +
% kwargs = dict(repo = repo, start_ref = "refs/heads/master", % limit = repo.info.commits_in_summary, % shorten = shorten, repo_root = ".", offset = 0) -- cgit v1.2.3