Added icon for accept/reject application versions.

This commit is contained in:
Emanuel Schuetze 2011-09-03 19:49:32 +02:00
parent 1bce678a03
commit d0363d7ad9
2 changed files with 4 additions and 4 deletions

View File

@ -241,13 +241,13 @@
<tr> <tr>
<td>{{ revision.aid }} <td>{{ revision.aid }}
{% if revision.rejected %} {% if revision.rejected %}
Version Abgelehnt <img title="{%trans 'Version rejected' %}" src="/static/images/icons/task-reject.png">
{% else %} {% else %}
{% if revision == application.permitted %} {% if revision == application.permitted %}
Akzeptierte Version <img title="{%trans 'Version accepted' %}" src="/static/images/icons/task-accepted.png">
{% else %}{% if revision.id > application.permitted.id and perms.application.can_manage_application %} {% else %}{% if revision.id > application.permitted.id and perms.application.can_manage_application %}
<a href="{% url application_version_permit revision.id %}">Akzeptieren</a><br> <a href="{% url application_version_permit revision.id %}"><img title="{%trans 'Accept Version' %}" src="/static/images/icons/task-accepted-grey.png"></a>
<a href="{% url application_version_reject revision.id %}">Ablehnen</a> <a href="{% url application_version_reject revision.id %}"><img title="{%trans 'Reject Version' %}" src="/static/images/icons/task-reject-grey.png"></a>
{% endif %}{% endif %} {% endif %}{% endif %}
{% endif %} {% endif %}
</td> </td>

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.0 KiB