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 3c70038089b63af9bfbdbeb6be52f02f3b80ccaa..370d4e8a24a84e29da9cc7cc24961a61f067480e 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>