From ad8ffa69de098a49262eb500222fe0d84f84a111 Mon Sep 17 00:00:00 2001 From: Joe Banks Date: Fri, 13 Dec 2024 23:29:57 +0000 Subject: [PATCH] Fix indentation of crew list partial VSCode auto-format and DTL do not play nicely --- RIGS/templates/partials/crew_list.html | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/RIGS/templates/partials/crew_list.html b/RIGS/templates/partials/crew_list.html index 3d028d87..034a7651 100644 --- a/RIGS/templates/partials/crew_list.html +++ b/RIGS/templates/partials/crew_list.html @@ -31,9 +31,11 @@ {% endif %} - {% if crew.end_time %}{% if crew.person.pk == request.user.pk or event.mic.pk == - request.user.pk %}{% button 'edit' 'edit_checkin' crew.pk clazz='btn-sm modal-href' %}{% - endif %}{% endif %} + {% if crew.end_time %} + {% if crew.person.pk == request.user.pk or event.mic.pk == request.user.pk %} + {% button 'edit' 'edit_checkin' crew.pk clazz='btn-sm modal-href' %} + {% endif %} + {% endif %} {% empty %}