be able to unfix a boat damage for tech
CI/CD Pipeline / test (push) Successful in 26m39s
CI/CD Pipeline / deploy-staging (push) Has been skipped
CI/CD Pipeline / deploy-main (push) Has been skipped

This commit is contained in:
2026-05-24 10:38:54 +02:00
parent c862b28552
commit 743b296895
3 changed files with 73 additions and 0 deletions
+7
View File
@@ -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"