Intervention template adjustments
* renames intervention variable to obj to match other template style * renames open routes to detail routes
This commit is contained in:
@@ -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>
|
||||
|
||||
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user