Intervention template adjustments

* renames intervention variable to obj to match other template style
* renames open routes to detail routes
This commit is contained in:
2021-10-13 09:26:46 +02:00
parent 337d7b39e7
commit efe26ae6f5
24 changed files with 87 additions and 87 deletions

View File

@@ -33,7 +33,7 @@
<tr>
<th scope="row">{% trans 'compensates intervention' %}</th>
<td class="align-middle">
<a href="{% url 'intervention:open' obj.intervention.id %}">
<a href="{% url 'intervention:detail' obj.intervention.id %}">
{{obj.intervention.identifier}}
</a>
</td>

View File

@@ -45,7 +45,7 @@
{% for deduction in deductions %}
<tr>
<td class="align-middle">
<a href="{% url 'intervention:open' deduction.intervention.id %}">
<a href="{% url 'intervention:detail' deduction.intervention.id %}">
{{ deduction.intervention.identifier }}
</a>
</td>