diff options
author | Arthur Zamarin <arthurzam@gentoo.org> | 2023-04-28 23:03:33 +0300 |
---|---|---|
committer | Arthur Zamarin <arthurzam@gentoo.org> | 2023-04-28 23:03:33 +0300 |
commit | 276c901c5e3209ea06fb6ecdb7095fd8880eada3 (patch) | |
tree | cf50657ea007cc52be68d093608dae45886a2c4e /web | |
parent | app/categories/json: optimize the value collection (diff) | |
download | soko-276c901c5e3209ea06fb6ecdb7095fd8880eada3.tar.gz soko-276c901c5e3209ea06fb6ecdb7095fd8880eada3.tar.bz2 soko-276c901c5e3209ea06fb6ecdb7095fd8880eada3.zip |
app/package/overview: display subslot in version rows
Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
Diffstat (limited to 'web')
-rw-r--r-- | web/templates/packages/versionrows.tmpl | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/web/templates/packages/versionrows.tmpl b/web/templates/packages/versionrows.tmpl index cdab20c..61088fd 100644 --- a/web/templates/packages/versionrows.tmpl +++ b/web/templates/packages/versionrows.tmpl @@ -2,7 +2,8 @@ {{- range $index, $version := .Package.Versions -}} <tr> <td class="kk-version "> - <strong><a class="kk-ebuild-link" href="https://gitweb.gentoo.org/repo/gentoo.git/tree/{{$version.Atom}}/{{$version.Package}}-{{$version.Version}}.ebuild">{{$version.Version}}</a></strong><span class="kk-slot" title="subslot {{ $version.Subslot }}"> : {{ $version.Slot }}</span> + <strong><a class="kk-ebuild-link" href="https://gitweb.gentoo.org/repo/gentoo.git/tree/{{$version.Atom}}/{{$version.Package}}-{{$version.Version}}.ebuild">{{$version.Version}}</a></strong> + <span class="kk-slot"> : {{ $version.Slot }}{{ if $version.Subslot }}/{{ $version.Subslot }}{{ end }}</span> {{- if $version.Restricts -}} <span class="badge badge-danger kk-restrict-label" title="The following features are restricted: {{ $version.Restricts }}">{{ formatRestricts $version.Restricts }}</span> {{- end -}} |