From 743bcbf86e4c58ccfaa2a2c264d17beef0f762bb Mon Sep 17 00:00:00 2001
From: mponton <mponton@grandlyon.com>
Date: Mon, 4 Mar 2024 15:14:12 +0100
Subject: [PATCH] fix(carto): added a slash between morning and afternoon
 opening hours

---
 .../structure-hours/structure-hours-list.component.html   | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/src/app/shared/components/structure-hours/structure-hours-list.component.html b/src/app/shared/components/structure-hours/structure-hours-list.component.html
index 3c7003808..370d4e8a2 100644
--- a/src/app/shared/components/structure-hours/structure-hours-list.component.html
+++ b/src/app/shared/components/structure-hours/structure-hours-list.component.html
@@ -6,10 +6,10 @@
     </div>
     <div *ngIf="!day.value.open" class="openingTime">Fermé</div>
     <div *ngIf="day.value.open" class="openingTime">
-      <span *ngFor="let timeRange of day.value.time">
-        {{ timeRange.formatOpeningDate() }} -
-        {{ timeRange.formatClosingDate() }}
-      </span>
+      <ng-container *ngFor="let timeRange of day.value.time; let isLast = last">
+        {{ timeRange.formatOpeningDate() }} - {{ timeRange.formatClosingDate() }}
+        <span *ngIf="!isLast"> / </span>
+      </ng-container>
     </div>
   </li>
 </ul>
-- 
GitLab