Application view: added link to edit a poll
This commit is contained in:
parent
bf5ae10552
commit
f4ed79b68d
@ -65,13 +65,13 @@
|
|||||||
<ul class="results">
|
<ul class="results">
|
||||||
{% for poll in polls %}
|
{% for poll in polls %}
|
||||||
<li>
|
<li>
|
||||||
{% if perms.application.can_manage_application and poll.has_vote %}
|
|
||||||
<a href="{% url application_poll_view poll.id %}">
|
|
||||||
{% endif %}
|
|
||||||
<b>{{ forloop.counter }}. {% trans "Vote" %}:</b>
|
|
||||||
{% if perms.application.can_manage_application %}
|
{% if perms.application.can_manage_application %}
|
||||||
{% if poll.has_vote %}</a>{% endif %}
|
<a href="{% url application_poll_view poll.id %}">
|
||||||
<a href="{% url application_poll_delete poll.id %}"><img src="{% static 'images/icons/edit-delete.png' %}" title="{% trans 'Delete Vote' %}"></a>
|
<b>{{ forloop.counter }}. {% trans "Vote" %}:</b>
|
||||||
|
</a>
|
||||||
|
<a href="{% url application_poll_delete poll.id %}">
|
||||||
|
<img src="{% static 'images/icons/edit-delete.png' %}" title="{% trans 'Delete Vote' %}">
|
||||||
|
</a>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
<br>
|
<br>
|
||||||
{% if poll.has_votes %}
|
{% if poll.has_votes %}
|
||||||
@ -103,7 +103,6 @@
|
|||||||
</ul>
|
</ul>
|
||||||
{% endwith %}
|
{% endwith %}
|
||||||
|
|
||||||
|
|
||||||
<h4>{% trans "Creation Time" %}:</h4>
|
<h4>{% trans "Creation Time" %}:</h4>
|
||||||
{{ application.creation_time }}
|
{{ application.creation_time }}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user