git-arr/views
Eric Sunshine 420afd3206 views: summary: suppress extra horizontal rule when no "master" branch
When a repository has a "master" branch, a short summary of its most
recent commits is shown, followed by a horizontal rule. If there is no
"master" branch, then the commit summary is suppressed, however, the
rule is shown unconditionally, which is ugly, particularly when there
is already a rule following the web_url/git_url block. Therefore,
suppress the "master" branch horizontal rule when not needed. (This is
analogous to how the rule following the web_url/git_url block is
suppressed when that information is not shown).

Signed-off-by: Eric Sunshine <sunshine@sunshineco.com>
Signed-off-by: Alberto Bertogli <albertito@blitiri.com.ar>
2015-01-11 21:18:06 +00:00
..
blob.html Fix one-line 'if' termination in tree, blob templates 2014-06-30 08:45:36 +01:00
branch.html Initial commit 2012-11-10 17:49:54 +00:00
commit-list.html Initial commit 2012-11-10 17:49:54 +00:00
commit.html Fix committer field in the commit view 2013-11-03 10:57:54 +00:00
index.html Show the age of a repository in the index, via javascript 2013-11-02 22:18:33 +00:00
paginate.html Initial commit 2012-11-10 17:49:54 +00:00
summary.html views: summary: suppress extra horizontal rule when no "master" branch 2015-01-11 21:18:06 +00:00
tree.html views/tree.html: Fix lambda syntax 2014-07-28 23:46:50 +01:00