mirror of
https://gitlab.archlinux.org/archlinux/aurweb.git
synced 2025-02-03 10:43:03 +01:00
Merge branch 'tu_vote_decision' into 'master'
Allow Trusted Users to change their proposal decisions See merge request archlinux/aurweb!477
This commit is contained in:
commit
b49aa79c2c
9 changed files with 254 additions and 83 deletions
|
@ -2,7 +2,11 @@
|
|||
|
||||
{% if voteinfo.is_running() %}
|
||||
<p class="vote-running" style="font-weight: bold; color: red">
|
||||
{% trans %}This vote is still running.{% endtrans %}
|
||||
{% trans %}This vote is still running.{% endtrans %}<br />
|
||||
{% if vote %}
|
||||
{{ "You've already voted for this proposal." | tr }}
|
||||
{{ "You can change your vote while the proposal is still running." | tr }}
|
||||
{% endif %}
|
||||
</p>
|
||||
{% endif %}
|
||||
|
||||
|
@ -39,6 +43,13 @@
|
|||
</strong>
|
||||
</div>
|
||||
|
||||
{% if vote and vote.Decision %}
|
||||
<div class="field">
|
||||
{{ "Your vote" | tr }}:
|
||||
<strong>{{ vote.display() }}</strong>
|
||||
</div>
|
||||
{% endif %}
|
||||
|
||||
{% if not voteinfo.is_running() %}
|
||||
<div class="field result">
|
||||
{{ "Result" | tr }}:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue