mirror of
https://gitlab.archlinux.org/archlinux/aurweb.git
synced 2025-02-03 10:43:03 +01:00
fix(fastapi): use NumVotes for votes field in package details
Signed-off-by: Kevin Morris <kevr@0cost.org>
This commit is contained in:
parent
686c032290
commit
bd59adc886
1 changed files with 2 additions and 2 deletions
|
@ -132,11 +132,11 @@
|
|||
<tr>
|
||||
<th>{{ "Votes" | tr }}:</th>
|
||||
{% if not is_maintainer %}
|
||||
<td>{{ pkgbase.package_votes.count() }}</td>
|
||||
<td>{{ pkgbase.NumVotes }}</td>
|
||||
{% else %}
|
||||
<td>
|
||||
<a href="/pkgbase/{{ pkgbase.Name }}/voters">
|
||||
{{ pkgbase.package_votes.count() }}
|
||||
{{ pkgbase.NumVotes }}
|
||||
</a>
|
||||
</td>
|
||||
{% endif %}
|
||||
|
|
Loading…
Add table
Reference in a new issue