mirror of
https://github.com/nottinghamtec/PyRIGS.git
synced 2026-01-24 00:42:17 +00:00
Set authorisation button text to be more verbose
This commit is contained in:
@@ -22,7 +22,17 @@
|
|||||||
"
|
"
|
||||||
href="{% url 'event_authorise_request' object.pk %}">
|
href="{% url 'event_authorise_request' object.pk %}">
|
||||||
<span class="glyphicon glyphicon-send"></span>
|
<span class="glyphicon glyphicon-send"></span>
|
||||||
<span class="hidden-xs">Authorisation Request</span>
|
<span class="hidden-xs">
|
||||||
|
{% if event.authorised %}
|
||||||
|
Authorised
|
||||||
|
{% elif event.authorisation and event.authorisation.amount != event.total and event.authorisation.last_edited_at > event.auth_request_at %}
|
||||||
|
Authorisation Issue
|
||||||
|
{% elif event.auth_request_to %}
|
||||||
|
Awaiting Authorisation
|
||||||
|
{% else %}
|
||||||
|
Request Authorisation
|
||||||
|
{% endif %}
|
||||||
|
</span>
|
||||||
</a>
|
</a>
|
||||||
{% if perms.RIGS.add_invoice %}
|
{% if perms.RIGS.add_invoice %}
|
||||||
<a id="invoiceDropdownLabel" href="{% url 'invoice_event' event.pk %}" class="btn
|
<a id="invoiceDropdownLabel" href="{% url 'invoice_event' event.pk %}" class="btn
|
||||||
|
|||||||
Reference in New Issue
Block a user