diff options
author | Eric Sunshine <sunshine@sunshineco.com> | 2014-12-31 10:50:05 +0100 |
---|---|---|
committer | Alberto Bertogli <albertito@blitiri.com.ar> | 2015-01-11 22:18:06 +0100 |
commit | 420afd3206d59ca76309087234f838edb32d7b8b (patch) | |
tree | 9aba014ffb2e1f65e21d8e9a2e520e747c655426 /static/git-arr.js | |
parent | 605421f2d6696db307309aa7b454ff368c2ba742 (diff) | |
download | git-arr-fork-420afd3206d59ca76309087234f838edb32d7b8b.zip |
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>
Diffstat (limited to 'static/git-arr.js')
0 files changed, 0 insertions, 0 deletions