Skip to content
Snippets Groups Projects
Commit a9d3923f authored by Antonin COQUET's avatar Antonin COQUET
Browse files

fix: change other Openning to Opening

parent 5c5c99fe
No related branches found
No related tags found
3 merge requests!178release V1.10.0,!135Dev,!133fix: change openning to opening
...@@ -6,7 +6,7 @@ export class Time { ...@@ -6,7 +6,7 @@ export class Time {
Object.assign(this, obj); Object.assign(this, obj);
} }
public formatOpenningDate(): string { public formatOpeningDate(): string {
return this.formatDate(this.opening); return this.formatDate(this.opening);
} }
......
...@@ -175,7 +175,7 @@ ...@@ -175,7 +175,7 @@
<app-svg-icon [type]="'ico'" [icon]="'accueil'" [iconClass]="'icon-32'"></app-svg-icon> <app-svg-icon [type]="'ico'" [icon]="'accueil'" [iconClass]="'icon-32'"></app-svg-icon>
<h2>Accueil</h2> <h2>Accueil</h2>
</div> </div>
<!-- Openning Hours --> <!-- Opening Hours -->
<div fxLayout="row" class="w-100 mobile-column"> <div fxLayout="row" class="w-100 mobile-column">
<div *ngIf="structure.hours.hasData()" fxFlex="50%"> <div *ngIf="structure.hours.hasData()" fxFlex="50%">
<h3 class="subtitle">Horaires d’ouverture au public</h3> <h3 class="subtitle">Horaires d’ouverture au public</h3>
...@@ -185,9 +185,9 @@ ...@@ -185,9 +185,9 @@
<h4>{{ day.key | day }}</h4> <h4>{{ day.key | day }}</h4>
<div class="opening-time" fxLayout="row" fxLayoutAlign="none flex-end"> <div class="opening-time" fxLayout="row" fxLayoutAlign="none flex-end">
<div *ngFor="let timeRange of day.value.time; let isFirst = first"> <div *ngFor="let timeRange of day.value.time; let isFirst = first">
<p *ngIf="isFirst">de {{ timeRange.formatOpenningDate() }} à {{ timeRange.formatClosingDate() }}</p> <p *ngIf="isFirst">de {{ timeRange.formatOpeningDate() }} à {{ timeRange.formatClosingDate() }}</p>
<p *ngIf="!isFirst && timeRange.opening"> <p *ngIf="!isFirst && timeRange.opening">
et de {{ timeRange.formatOpenningDate() }} à {{ timeRange.formatClosingDate() }} et de {{ timeRange.formatOpeningDate() }} à {{ timeRange.formatClosingDate() }}
</p> </p>
</div> </div>
</div> </div>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment