aboutsummaryrefslogtreecommitdiff
path: root/web
diff options
context:
space:
mode:
authorMax Magorsch <arzano@gentoo.org>2020-09-08 13:27:56 +0200
committerMax Magorsch <arzano@gentoo.org>2020-09-08 13:27:56 +0200
commit767ddcc1307f11af3a3dc50d377cf996e877c5b6 (patch)
treecb16fc0b5e8c2ebde1535d20af3d05426508adc1 /web
parentDon't show !test? ( test ) (diff)
downloadsoko-767ddcc1307f11af3a3dc50d377cf996e877c5b6.tar.gz
soko-767ddcc1307f11af3a3dc50d377cf996e877c5b6.tar.bz2
soko-767ddcc1307f11af3a3dc50d377cf996e877c5b6.zip
Fix wrong keywording in the changedVersions
Signed-off-by: Max Magorsch <arzano@gentoo.org>
Diffstat (limited to 'web')
-rw-r--r--web/templates/packages/changedVersionRow.tmpl4
1 files changed, 2 insertions, 2 deletions
diff --git a/web/templates/packages/changedVersionRow.tmpl b/web/templates/packages/changedVersionRow.tmpl
index ce93e7f..22b27b9 100644
--- a/web/templates/packages/changedVersionRow.tmpl
+++ b/web/templates/packages/changedVersionRow.tmpl
@@ -60,9 +60,9 @@
{{ $arches := mkSlice "amd64" "x86" "alpha" "arm" "arm64" "hppa" "ia64" "ppc" "ppc64" "sparc" }}
{{ range $arches }}
{{if contains (print " " $.Keywords " ") (print " " . " ")}}
- <span class="label kk-keyword-stable" title="{{$.Version}} is testing on {{.}}">~{{.}}</span>
+ <span class="label kk-keyword-stable" title="{{$.Version}} is testing on {{.}}">{{.}}</span>
{{else if contains (print " " $.Keywords " ") (print "~" . " ")}}
- <span class="label kk-keyword-testing" title="{{$.Version}} is stable on {{.}}">{{.}}</span>
+ <span class="label kk-keyword-testing" title="{{$.Version}} is stable on {{.}}">~{{.}}</span>
{{else}}
<span class="label kk-keyword-unknown" title="{{$.Version}} is unknown on {{.}}">?{{.}}</span>
{{end}}