diff --git a/lemarche/siaes/models.py b/lemarche/siaes/models.py index 4dc70e2a0..0e1b508ee 100644 --- a/lemarche/siaes/models.py +++ b/lemarche/siaes/models.py @@ -1582,7 +1582,7 @@ class Meta: @property def presta_type_display(self) -> str: - return choice_array_to_values(siae_constants.PRESTA_CHOICES, self.presta_type) + return choice_array_to_values(siae_constants.PRESTA_CHOICES, self.presta_type) if self.presta_type else "" @property def geo_range_pretty_display(self): diff --git a/lemarche/templates/siaes/_siae_activity_content.html b/lemarche/templates/siaes/_siae_activity_content.html index a25a9f6ce..205f8c3fa 100644 --- a/lemarche/templates/siaes/_siae_activity_content.html +++ b/lemarche/templates/siaes/_siae_activity_content.html @@ -9,11 +9,13 @@
- - Type(s) de prestation : - {{ activity.presta_type_display }} -
+ {% if activity.presta_type %} ++ + Type(s) de prestation : + {{ activity.presta_type_display }} +
+ {% endif %}Intervient sur :