diff options
author | Gabriel A. Giovanini <mail@gabrielgio.me> | 2025-03-25 21:27:35 +0100 |
---|---|---|
committer | Gabriel A. Giovanini <mail@gabrielgio.me> | 2025-03-25 21:27:35 +0100 |
commit | ef05f233903fe896ff60c8a8759deac6cc0e7366 (patch) | |
tree | c883a71e2241fd476b90e7d4409d03df585f0f18 /templates | |
parent | 6006194c072dba9f65aa08c6e3be06ea8ead8910 (diff) | |
download | cerrado-ef05f233903fe896ff60c8a8759deac6cc0e7366.tar.gz cerrado-ef05f233903fe896ff60c8a8759deac6cc0e7366.tar.bz2 cerrado-ef05f233903fe896ff60c8a8759deac6cc0e7366.zip |
ref: Remove restriction to show commit ref
This should make easier to locate where we are at.
Diffstat (limited to 'templates')
-rw-r--r-- | templates/navbar.qtpl | 2 | ||||
-rw-r--r-- | templates/navbar.qtpl.go | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/templates/navbar.qtpl b/templates/navbar.qtpl index c222171..7a07319 100644 --- a/templates/navbar.qtpl +++ b/templates/navbar.qtpl @@ -51,7 +51,7 @@ Add this back if needed {% func GitItemNav (name, ref string, s GitSelection) %} <div class="row"> - <h3 id="name">{%s name %} {% if ref != "" && (s == Log || s == Tree) %}@ {%s ref %}{% endif %}</h3> + <h3 id="name">{%s name %} {% if ref != "" %}@ {%s ref %}{% endif %}</h3> </div> <div class="row"> <ul class="nav"> diff --git a/templates/navbar.qtpl.go b/templates/navbar.qtpl.go index 47573a7..0a41d56 100644 --- a/templates/navbar.qtpl.go +++ b/templates/navbar.qtpl.go @@ -176,7 +176,7 @@ func StreamGitItemNav(qw422016 *qt422016.Writer, name, ref string, s GitSelectio //line templates/navbar.qtpl:54 qw422016.N().S(` `) //line templates/navbar.qtpl:54 - if ref != "" && (s == Log || s == Tree) { + if ref != "" { //line templates/navbar.qtpl:54 qw422016.N().S(`@ `) //line templates/navbar.qtpl:54 |