mirror of
https://gitlab.archlinux.org/archlinux/aurweb.git
synced 2025-02-03 10:43:03 +01:00
fix(routers.trusted_user): only display Voters on ended proposals
In addition, we display the Voters partial regardless of them existing or not; with no voters, an empty Voters list is displayed. Closes #236 Signed-off-by: Kevin Morris <kevr@0cost.org>
This commit is contained in:
parent
ae7621fb54
commit
0df57debb8
1 changed files with 1 additions and 2 deletions
|
@ -5,7 +5,7 @@
|
||||||
{% include "partials/tu/proposal/details.html" %}
|
{% include "partials/tu/proposal/details.html" %}
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
{% if voters %}
|
{% if utcnow >= voteinfo.End %}
|
||||||
<div class="box">
|
<div class="box">
|
||||||
{% include "partials/tu/proposal/voters.html" %}
|
{% include "partials/tu/proposal/voters.html" %}
|
||||||
</div>
|
</div>
|
||||||
|
@ -18,5 +18,4 @@
|
||||||
{% include "partials/tu/proposal/form.html" %}
|
{% include "partials/tu/proposal/form.html" %}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
|
|
Loading…
Add table
Reference in a new issue