aboutsummaryrefslogtreecommitdiff
path: root/web
diff options
context:
space:
mode:
authorArthur Zamarin <arthurzam@gentoo.org>2023-02-18 16:45:47 +0200
committerArthur Zamarin <arthurzam@gentoo.org>2023-02-18 16:45:47 +0200
commitcfd778f73eed0eb7e0a44fffbad6a859f368237f (patch)
tree42d3cd1685b85098dfb395e6e6da2e2220d03b39 /web
parentuserpreferences: remove unused arches (diff)
downloadsoko-cfd778f73eed0eb7e0a44fffbad6a859f368237f.tar.gz
soko-cfd778f73eed0eb7e0a44fffbad6a859f368237f.tar.bz2
soko-cfd778f73eed0eb7e0a44fffbad6a859f368237f.zip
dependencies: show correct usage of dependencies
Fixes: a42831db3ec3f2308ac8115f2daae9a7dc546dea Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
Diffstat (limited to 'web')
-rw-r--r--web/templates/packages/components/dependencies.tmpl8
-rw-r--r--web/templates/packages/components/reverse-dependencies.tmpl8
2 files changed, 8 insertions, 8 deletions
diff --git a/web/templates/packages/components/dependencies.tmpl b/web/templates/packages/components/dependencies.tmpl
index d63a0b5..4672936 100644
--- a/web/templates/packages/components/dependencies.tmpl
+++ b/web/templates/packages/components/dependencies.tmpl
@@ -29,10 +29,10 @@
{{ range $key, $value := $depMap }}
<tr>
<th scope="row"><a class="text-dark" href="/packages/{{$value.Atom}}">{{$key}}</a></th>
- <td>{{if $value.rdepend}}<i class="fa fa-check" style="color:green;" aria-hidden="true"></i>{{else}}<i class="fa fa-times" style="color:#E1E1E1;" aria-hidden="true"></i>{{end}}</td>
- <td>{{if $value.depend}}<i class="fa fa-check" style="color:green;" aria-hidden="true"></i>{{else}}<i class="fa fa-times" style="color:#E1E1E1;" aria-hidden="true"></i>{{end}}</td>
- <td>{{if $value.bdepend}}<i class="fa fa-check" style="color:green;" aria-hidden="true"></i>{{else}}<i class="fa fa-times" style="color:#E1E1E1;" aria-hidden="true"></i>{{end}}</td>
- <td>{{if $value.pdepend}}<i class="fa fa-check" style="color:green;" aria-hidden="true"></i>{{else}}<i class="fa fa-times" style="color:#E1E1E1;" aria-hidden="true"></i>{{end}}</td>
+ <td>{{if $value.rindex}}<i class="fa fa-check" style="color:green;" aria-hidden="true"></i>{{else}}<i class="fa fa-times" style="color:#E1E1E1;" aria-hidden="true"></i>{{end}}</td>
+ <td>{{if $value.dindex}}<i class="fa fa-check" style="color:green;" aria-hidden="true"></i>{{else}}<i class="fa fa-times" style="color:#E1E1E1;" aria-hidden="true"></i>{{end}}</td>
+ <td>{{if $value.bindex}}<i class="fa fa-check" style="color:green;" aria-hidden="true"></i>{{else}}<i class="fa fa-times" style="color:#E1E1E1;" aria-hidden="true"></i>{{end}}</td>
+ <td>{{if $value.pindex}}<i class="fa fa-check" style="color:green;" aria-hidden="true"></i>{{else}}<i class="fa fa-times" style="color:#E1E1E1;" aria-hidden="true"></i>{{end}}</td>
</tr>
{{end}}
diff --git a/web/templates/packages/components/reverse-dependencies.tmpl b/web/templates/packages/components/reverse-dependencies.tmpl
index 0415b78..7c6de1d 100644
--- a/web/templates/packages/components/reverse-dependencies.tmpl
+++ b/web/templates/packages/components/reverse-dependencies.tmpl
@@ -23,10 +23,10 @@
{{ range $key, $value := $revDevMap }}
<tr>
<th scope="row"><a class="text-dark" href="/packages/{{replaceall $value.Atom "[B]" ""}}">{{$key}}</a></th>
- <td>{{if $value.rdepend}}<i class="fa fa-check" style="color:green;" aria-hidden="true"></i>{{else}}<i class="fa fa-times" style="color:#E1E1E1;" aria-hidden="true"></i>{{end}}</td>
- <td>{{if $value.depend}}<i class="fa fa-check" style="color:green;" aria-hidden="true"></i>{{else}}<i class="fa fa-times" style="color:#E1E1E1;" aria-hidden="true"></i>{{end}}</td>
- <td>{{if $value.bdepend}}<i class="fa fa-check" style="color:green;" aria-hidden="true"></i>{{else}}<i class="fa fa-times" style="color:#E1E1E1;" aria-hidden="true"></i>{{end}}</td>
- <td>{{if $value.pdepend}}<i class="fa fa-check" style="color:green;" aria-hidden="true"></i>{{else}}<i class="fa fa-times" style="color:#E1E1E1;" aria-hidden="true"></i>{{end}}</td>
+ <td>{{if $value.rindex}}<i class="fa fa-check" style="color:green;" aria-hidden="true"></i>{{else}}<i class="fa fa-times" style="color:#E1E1E1;" aria-hidden="true"></i>{{end}}</td>
+ <td>{{if $value.dindex}}<i class="fa fa-check" style="color:green;" aria-hidden="true"></i>{{else}}<i class="fa fa-times" style="color:#E1E1E1;" aria-hidden="true"></i>{{end}}</td>
+ <td>{{if $value.bindex}}<i class="fa fa-check" style="color:green;" aria-hidden="true"></i>{{else}}<i class="fa fa-times" style="color:#E1E1E1;" aria-hidden="true"></i>{{end}}</td>
+ <td>{{if $value.pindex}}<i class="fa fa-check" style="color:green;" aria-hidden="true"></i>{{else}}<i class="fa fa-times" style="color:#E1E1E1;" aria-hidden="true"></i>{{end}}</td>
</tr>
{{end}}