#38 User requests

* implements 2) "Multiple revocations for interventions"
This commit is contained in:
2021-11-15 12:18:22 +01:00
parent a0df7f4fe1
commit faffd454b9
8 changed files with 227 additions and 226 deletions

View File

@@ -99,9 +99,9 @@
<th scope="row">{% trans 'Binding on' %}</th>
<td class="align-middle">{{obj.legal.binding_date|default_if_none:""}}</td>
</tr>
<tr {% if obj.legal.revocation %}class="alert alert-danger" title="{% trans 'Exists' %}" {% endif %}>
<th scope="row">{% trans 'Revocation' %}</th>
<td class="align-middle">{{obj.legal.revocation.date|naturalday|default_if_none:""}}</td>
<tr {% if obj.legal.revocations.all %}class="alert alert-danger" title="{% trans 'Exists' %}" {% endif %}>
<th scope="row">{% trans 'Revocations' %}</th>
<td class="align-middle">{{obj.legal.revocations.count}}</td>
</tr>
<tr>
<th scope="row">{% trans 'Last modified' %}</th>