-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* feat: add horaires about even or odd weeks * feat: multiple horaires and description layout * fix: revert horaires detail * fix: delete console log * fix: retour pr
- Loading branch information
Showing
9 changed files
with
162 additions
and
38 deletions.
There are no files selected for viewing
13 changes: 11 additions & 2 deletions
13
...aphie/components/lieux-mediation-numerique-details/description/description.component.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,11 @@ | ||
<p class="my-3 presentation-resume" *ngIf="resume">{{ resume }}</p> | ||
<p class="my-3 presentation-detail" *ngIf="detail">{{ detail }}</p> | ||
<ng-container *ngIf="resume || detail; else noDescription"> | ||
<p class="my-3 presentation-resume" *ngIf="resume">{{ resume }}</p> | ||
<p class="my-3 presentation-detail" *ngIf="detail">{{ detail }}</p> | ||
</ng-container> | ||
<ng-template #noDescription> | ||
<div class="mt-4 text-center"> | ||
La description de ce lieu | ||
<br /> | ||
n'est pas encore renseignée | ||
</div> | ||
</ng-template> |
36 changes: 20 additions & 16 deletions
36
...artographie/components/lieux-mediation-numerique-details/horaires/horaires.component.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,37 +1,41 @@ | ||
<h2 class="h5 text-muted-dark mb-3 d-print-none text-uppercase">Horaires</h2> | ||
<div class="d-flex"> | ||
<h2 class="h6 mb-3 d-print-none fw-bold flex-grow-1" *ngIf="sousTitre">{{ sousTitre }}</h2> | ||
<small class="text-muted"> | ||
<em>{{ getWeekByIteration(weekOffset) }}</em> | ||
</small> | ||
</div> | ||
<small class="text-muted-dark fw-bold mb-2 d-none d-print-block">Horaires d'ouverture</small> | ||
<ng-container *ngIf="horaires; else noOpeningHours"> | ||
<table class="table table-horaires table-borderless table-sm mb-0 text-prewrap"> | ||
<ng-container *ngIf="horaires"> | ||
<table class="table table-horaires table-borderless mb-0 text-prewrap align-middle"> | ||
<tbody> | ||
<tr> | ||
<th scope="row" class="day text-muted fw-bold">Lundi</th> | ||
<td>{{ horaires['Lundi'] }}</td> | ||
<tr class="bg-light"> | ||
<th class="day text-muted fw-bold">Lundi</th> | ||
<td class="text-end">{{ horaires['Lundi'] }}</td> | ||
</tr> | ||
<tr> | ||
<th scope="row" class="day text-muted fw-bold">Mardi</th> | ||
<td>{{ horaires['Mardi'] }}</td> | ||
<td class="text-end">{{ horaires['Mardi'] }}</td> | ||
</tr> | ||
<tr> | ||
<tr class="bg-light"> | ||
<th scope="row" class="day text-muted fw-bold">Mercredi</th> | ||
<td>{{ horaires['Mercredi'] }}</td> | ||
<td class="text-end">{{ horaires['Mercredi'] }}</td> | ||
</tr> | ||
<tr> | ||
<th scope="row" class="day text-muted fw-bold">Jeudi</th> | ||
<td>{{ horaires['Jeudi'] }}</td> | ||
<td class="text-end">{{ horaires['Jeudi'] }}</td> | ||
</tr> | ||
<tr> | ||
<tr class="bg-light"> | ||
<th scope="row" class="day text-muted fw-bold">Vendredi</th> | ||
<td>{{ horaires['Vendredi'] }}</td> | ||
<td class="text-end">{{ horaires['Vendredi'] }}</td> | ||
</tr> | ||
<tr> | ||
<th class="day text-muted fw-bold">Samedi</th> | ||
<td>{{ horaires['Samedi'] }}</td> | ||
<td class="text-end">{{ horaires['Samedi'] }}</td> | ||
</tr> | ||
<tr> | ||
<tr class="bg-light"> | ||
<th scope="row" class="day text-muted fw-bold">Dimanche</th> | ||
<td>{{ horaires['Dimanche'] }}</td> | ||
<td class="text-end">{{ horaires['Dimanche'] }}</td> | ||
</tr> | ||
</tbody> | ||
</table> | ||
</ng-container> | ||
<ng-template #noOpeningHours>Horaires d'ouverture inconnus</ng-template> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters