be able to unfix a boat damage for tech
This commit is contained in:
@@ -55,6 +55,13 @@
|
||||
</small>
|
||||
{% if boatdamage.fixed_at %}
|
||||
<small class="block text-gray-600 dark:text-gray-100">Repariert von {{ boatdamage.user_fixed.name }} am/um {{ boatdamage.fixed_at | date(format='%d.%m.%Y (%H:%M)') }}</small>
|
||||
{% if loggedin_user and "tech" in loggedin_user.roles and not boatdamage.verified_at %}
|
||||
<form action="/boatdamage/{{ boatdamage.id }}/unfix" method="post" class="mt-1">
|
||||
<input type="submit"
|
||||
class="btn btn-dark text-sm"
|
||||
value="Reparatur rückgängig" />
|
||||
</form>
|
||||
{% endif %}
|
||||
{% else %}
|
||||
{% if loggedin_user and loggedin_user.allowed_to_steer %}
|
||||
<form action="/boatdamage/{{ boatdamage.id }}/fixed"
|
||||
|
||||
Reference in New Issue
Block a user