#86 Revocation rendering if needed
* renders revocation warning on the index view if a revocation exists
This commit is contained in:
14
templates/table/revocation_warning_col.html
Normal file
14
templates/table/revocation_warning_col.html
Normal file
@@ -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 %}
|
||||
Reference in New Issue
Block a user