aboutsummaryrefslogtreecommitdiff
path: root/web
diff options
context:
space:
mode:
authorMax Magorsch <arzano@gentoo.org>2020-10-06 23:21:18 +0000
committerMax Magorsch <arzano@gentoo.org>2020-10-06 23:21:18 +0000
commit478c0d2e8a099653c9b08f0315156fdb19bfd27d (patch)
tree526e2ffee1bd79b584548527dd3620e37fe59d16 /web
parentCorrectly compute the number of bugs for maintainers (diff)
downloadsoko-478c0d2e8a099653c9b08f0315156fdb19bfd27d.tar.gz
soko-478c0d2e8a099653c9b08f0315156fdb19bfd27d.tar.bz2
soko-478c0d2e8a099653c9b08f0315156fdb19bfd27d.zip
Fix hardcoded EAPI versions
Thanks to sam for pointing this out Signed-off-by: Max Magorsch <arzano@gentoo.org>
Diffstat (limited to 'web')
-rw-r--r--web/templates/packages/versionrows.tmpl4
1 files changed, 2 insertions, 2 deletions
diff --git a/web/templates/packages/versionrows.tmpl b/web/templates/packages/versionrows.tmpl
index e1dc947..56248ae 100644
--- a/web/templates/packages/versionrows.tmpl
+++ b/web/templates/packages/versionrows.tmpl
@@ -6,13 +6,13 @@
<span class="badge badge-danger kk-restrict-label" title="The following features are restricted: {{ $version.Restricts }}">{{ formatRestricts $version.Restricts }}</span>
{{ end }}
{{ if eq $.UserPreferences.Packages.Overview.EAPI "inline"}}
- <span style="background-color: white;border:1px solid grey;color: grey;" class="badge badge-danger kk-restrict-label" title="The following features are restricted:">EAPI 5</span>
+ <span style="background-color: white;border:1px solid grey;color: grey;" class="badge badge-danger kk-restrict-label" title="The following features are restricted:">EAPI {{$version.EAPI}}</span>
{{end}}
</td>
{{ if eq $.UserPreferences.Packages.Overview.EAPI "column"}}
<td class="text-center">
- 6
+ {{$version.EAPI}}
</td>
{{end}}