#86 Revocation rendering if needed
* renders revocation warning on the index view if a revocation existspull/111/head
parent
23c04c8883
commit
5e79f16e1e
@ -0,0 +1,14 @@
|
||||
{% load i18n fontawesome_5 %}
|
||||
|
||||
{% if has_revocations %}
|
||||
<strong>
|
||||
<a href="{{url}}" title="{% trans 'Revocations exists' %}">
|
||||
{% fa5_icon 'ban' %}
|
||||
{{content}}
|
||||
</a>
|
||||
</strong>
|
||||
{% else %}
|
||||
<a href="{{url}}" title="{{tooltip}}">
|
||||
{{content}}
|
||||
</a>
|
||||
{% endif %}
|
Loading…
Reference in New Issue