aurweb/templates/tu/show.html
Kevin Morris 97c1247b57 /tu/{proposal_id}: Do not show voters if there are none
This was different than PHP.

Signed-off-by: Kevin Morris <kevr@0cost.org>
2021-06-26 04:43:00 -07:00

22 lines
524 B
HTML

{% extends "partials/layout.html" %}
{% block pageContent %}
<div class="box">
{% include "partials/tu/proposal/details.html" %}
</div>
{% if voters %}
<div class="box">
{% include "partials/tu/proposal/voters.html" %}
</div>
{% endif %}
<div class="box">
{% if error %}
<span class="status">{{ error | tr }}</span>
{% else %}
{% include "partials/tu/proposal/form.html" %}
{% endif %}
</div>
{% endblock %}