Template improvement

* minor improvement
This commit is contained in:
mipel 2021-08-04 15:55:40 +02:00
parent 135f25d88b
commit f69d98460f
2 changed files with 2 additions and 6 deletions

View File

@ -65,9 +65,7 @@
<td class="align-middle"> <td class="align-middle">
{{comp.created.timestamp|default_if_none:""|naturalday}} {{comp.created.timestamp|default_if_none:""|naturalday}}
<br> <br>
{% with comp.created.user as user %} {{comp.created.user.username}}
{% include 'user/includes/contact_modal_button.html' %}
{% endwith %}
</td> </td>
</tr> </tr>
<tr> <tr>

View File

@ -97,9 +97,7 @@
<td class="align-middle"> <td class="align-middle">
{{intervention.created.timestamp|default_if_none:""|naturalday}} {{intervention.created.timestamp|default_if_none:""|naturalday}}
<br> <br>
{% with intervention.created.user as user %} {{intervention.created.user.username}}
{% include 'user/includes/contact_modal_button.html' %}
{% endwith %}
</td> </td>
</tr> </tr>
<tr> <tr>