aboutsummaryrefslogtreecommitdiff
path: root/web
diff options
context:
space:
mode:
authorArthur Zamarin <arthurzam@gentoo.org>2023-03-25 23:22:04 +0300
committerArthur Zamarin <arthurzam@gentoo.org>2023-03-25 23:22:04 +0300
commitfa8b72de8fa0d60dd61b33b3b35210fdcb72058a (patch)
tree16e6f42b54c39627dfa11746cdeafeca1b2e8941 /web
parentupdater/pkgcheck: collect stabilization data per category (diff)
downloadsoko-fa8b72de8fa0d60dd61b33b3b35210fdcb72058a.tar.gz
soko-fa8b72de8fa0d60dd61b33b3b35210fdcb72058a.tar.bz2
soko-fa8b72de8fa0d60dd61b33b3b35210fdcb72058a.zip
categories: show Stabilization tab placeholder
Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
Diffstat (limited to 'web')
-rw-r--r--web/templates/categories/categoryheader.tmpl1
1 files changed, 1 insertions, 0 deletions
diff --git a/web/templates/categories/categoryheader.tmpl b/web/templates/categories/categoryheader.tmpl
index 2d540b2..e6cad19 100644
--- a/web/templates/categories/categoryheader.tmpl
+++ b/web/templates/categories/categoryheader.tmpl
@@ -20,6 +20,7 @@
<div class="col-md-12 pt-4 mt-1">
<nav class="nav kk-package-nav">
<a class="nav-link {{if eq .PageName "packages"}}active{{end}}" href="/categories/{{.Category.Name}}"><i class="fa fa-list-ul mr-1" aria-hidden="true"></i> Packages <span class="ml-1 badge badge-pill kk-misc-badge">{{len .Category.Packages}}</span></a>
+ <a class="nav-link {{if eq .PageName "stabilization"}}active{{end}}" href="/categories/{{.Category.Name}}/stabilization"><i class="fa fa-check-circle-o mr-1" aria-hidden="true"></i> Stabilization <span class="ml-1 badge badge-pill kk-misc-badge">{{.Category.PackagesInformation.StableRequests}}</span></a>
<a class="nav-link {{if eq .PageName "outdated"}}active{{end}}" href="/categories/{{.Category.Name}}/outdated"><i class="fa fa-tag mr-1" aria-hidden="true"></i> Outdated <span class="ml-1 badge badge-pill kk-misc-badge">{{.Category.PackagesInformation.Outdated}}</span></a>
<a class="nav-link {{if eq .PageName "pull-requests"}}active{{end}}" href="/categories/{{.Category.Name}}/pull-requests"><span class="octicon octicon-git-pull-request opticon-resource-icon ml-1"></span> Pull requests <span class="ml-1 badge badge-pill kk-misc-badge">{{.Category.PackagesInformation.PullRequests}}</span></a>
</nav>