diff --git a/atlas/templates/atlas/partials/case_list_item.html b/atlas/templates/atlas/partials/case_list_item.html index b56e4b4c..01313e46 100644 --- a/atlas/templates/atlas/partials/case_list_item.html +++ b/atlas/templates/atlas/partials/case_list_item.html @@ -24,46 +24,46 @@ -
+
- {% if casedetail.case.history %} - - - - {% else %} - - - - {% endif %} + {% if casedetail.case.history %} + + + + {% else %} + + + + {% endif %} - {% if casedetail.case.discussion %} - - - - {% else %} - - - - {% endif %} + {% if casedetail.case.discussion %} + + + + {% else %} + + + + {% endif %} - {% if casedetail.case.report %} - - - - {% else %} - - - - {% endif %} -
+ {% if casedetail.case.report %} + + + + {% else %} + + + + {% endif %} +
diff --git a/atlas/templates/atlas/partials/casedetails_management_links.html b/atlas/templates/atlas/partials/casedetails_management_links.html index 999974ba..0a430524 100644 --- a/atlas/templates/atlas/partials/casedetails_management_links.html +++ b/atlas/templates/atlas/partials/casedetails_management_links.html @@ -1,44 +1,44 @@ -
- - +
+ + + + + + + + + {% if collection.collection_type == "QUE" %} + + {% if casedetail.question_schema %} + + {% else %} + + {% endif %} + {% endif %} - - + {% if casedetail.case.previous_case %} + + + {% endif %} +
- {% if collection.collection_type == "QUE" %} - - {% if casedetail.question_schema %} - - {% else %} - - {% endif %} - - {% endif %} - {% if casedetail.case.previous_case %} - - - - {% endif %} -
- - -
- {% if casedetail.default_viewerstate %} - - {% endif %} -
+
+ {% if casedetail.default_viewerstate %} + + {% endif %} +
{# Remove button (HTMX) - only shown when the surrounding template has `can_edit` true #} - {% if can_edit %} -
- -
- {% endif %} \ No newline at end of file +{% if can_edit %} +
+ +
+{% endif %} \ No newline at end of file