-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #38 from IGNF/issue_24
feat(shared-reglementation) : affichage de la reglementation en fonct…
- Loading branch information
Showing
12 changed files
with
298 additions
and
47 deletions.
There are no files selected for viewing
11 changes: 9 additions & 2 deletions
11
...p/shared-reglementation/components/reglementation-view/reglementation-view.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,13 +1,20 @@ | ||
@if (reglementation) { | ||
|
||
<div [innerHTML]="reglementation.description"></div> | ||
<div [innerHTML]="reglementation.impactReglementaire"></div> | ||
<div [innerHTML]="reglementation.impactProcedure"></div> | ||
|
||
@if(reglementation.referenceUrl){ | ||
<p> | ||
<a [href]="reglementation.referenceUrl">Accès référence réglementaire</a> | ||
<a [href]="reglementation.referenceUrl" target="_blank">Consulter la référence réglementaire</a> | ||
</p> | ||
} | ||
@if(reglementation.contact) { | ||
<p> | ||
Point de concat {{ reglementation.contact }}. | ||
Pour vos procédures vueillez contacter <b>{{ reglementation.contact }}</b>. | ||
</p> | ||
} | ||
|
||
} @else { | ||
<p>Aucune reglementation ou recommandation.</p> | ||
} |
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
18 changes: 9 additions & 9 deletions
18
src/app/shared-thematic/components/thematic-tabs/thematic-tabs.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,17 +1,17 @@ | ||
<dsfr-tabs [selectedTabIndex]="selectedTabIndex" (tabSelect)="selectTab($event)"> | ||
|
||
@for (thematicTab of thematicTabs; track $index; let first = $first) { | ||
@if (thematicTab.active) { | ||
<dsfr-tab [tabId]="thematicTab.name" [label]="thematicTab.label"> | ||
@if (thematicTab.active) { | ||
<dsfr-tab [tabId]="thematicTab.name" [label]="thematicTab.label"> | ||
|
||
@if (first) { | ||
<app-synthese></app-synthese> | ||
} @else { | ||
<app-thematic-view [thematic]="thematicTab"></app-thematic-view> | ||
} | ||
@if (first) { | ||
<app-synthese></app-synthese> | ||
} @else { | ||
<app-thematic-view [thematic]="thematicTab"></app-thematic-view> | ||
} | ||
|
||
</dsfr-tab> | ||
} | ||
</dsfr-tab> | ||
} | ||
} | ||
|
||
</dsfr-tabs> |
Oops, something went wrong.