diff --git a/lemarche/templates/dashboard/siae_edit_activities.html b/lemarche/templates/dashboard/siae_edit_activities.html index 9afd19100..419826d23 100644 --- a/lemarche/templates/dashboard/siae_edit_activities.html +++ b/lemarche/templates/dashboard/siae_edit_activities.html @@ -17,7 +17,7 @@
{{ activity.sector_group }}
- -- - Type(s) de prestation : - {{ activity.presta_type_display }} -
-- - Intervient sur : {{ siae.geo_range_pretty_title }} - {{ siae.geo_range_pretty_display }} -
+ {% include "siaes/_siae_activity_content.html" with activity=activity with_collapse=with_collapse %}+ {% if with_collapse %} + + {{ activity.sector_group }} + + {% else %} + {{ activity.sector_group }} + {% endif %} +
+ ++ + Type(s) de prestation : + {{ activity.presta_type_display }} +
++ + Intervient sur : {{ siae.geo_range_pretty_title }} + {{ siae.geo_range_pretty_display }} +
+Non renseigné
+ {% if user.is_authenticated and user.is_admin %} + {% for activity in siae.activities.all %} + {% include "siaes/_siae_activity_content.html" with activity=activity with_collapse=True %} + {% endfor %} + {% else %} + {% if not siae.sector_count %} +Non renseigné
+ {% else %} +