From e6166b6adb3d9e1e198c4ea8f33283a7d62f127b Mon Sep 17 00:00:00 2001 From: kdeterme Date: Tue, 11 Aug 2026 16:49:29 +0200 Subject: [PATCH] refactor: replace new inspection modal with direct link to map and update tests accordingly --- streetup/home/templates/home/home_index.html | 5 ++--- streetup/home/tests.py | 18 ++++++++++++++++++ .../mobile/templates/mobile/mobile_index.html | 4 ---- 3 files changed, 20 insertions(+), 7 deletions(-) diff --git a/streetup/home/templates/home/home_index.html b/streetup/home/templates/home/home_index.html index 5c4090a..1fbf5f0 100644 --- a/streetup/home/templates/home/home_index.html +++ b/streetup/home/templates/home/home_index.html @@ -10,7 +10,6 @@ {% block content %} {% include "home/_intervention_type_modal.html" %} - {% include "home/_new_inspection_modal.html" %} {% if can_add_structures_repair %} {% include "home/_add_repair_intervention_modal.html" %} {% endif %} @@ -31,9 +30,9 @@ {% endif %} {% if is_inspector %} - + {% endif %} {% if user.config|has_any_role:"manager,admin,controller,external_manager,top_manager" %}