-
Notifications
You must be signed in to change notification settings - Fork 87
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: adapt static content navigation styling to meet new IAD/VD requi…
…rements (#682) Co-authored-by: Silke <s.grueber@intershop.de>
- Loading branch information
Showing
8 changed files
with
66 additions
and
73 deletions.
There are no files selected for viewing
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
74 changes: 43 additions & 31 deletions
74
src/app/shared/cms/components/cms-static-page/cms-static-page.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,35 +1,47 @@ | ||
<div class="marketing-area"> | ||
<ish-content-slot [slot]="'app_sf_base_cm:slot.marketing.base.pagelet2-Slot'" [pagelet]="pagelet"></ish-content-slot> | ||
</div> | ||
|
||
<div class="row"> | ||
<ng-container | ||
*ngIf="pagelet.booleanParam('ShowSidePanel') || pagelet.booleanParam('ShowNavigation'); else noSidePanel" | ||
> | ||
<div class="page-navigation col-md-3"> | ||
<div *ngIf="pagelet.booleanParam('ShowNavigation')" class="page-navigation-contents"> | ||
<ish-content-navigation | ||
[root]="pagelet.stringParam('NavigationRoot')" | ||
[depth]="pagelet.numberParam('NavigationDepth')" | ||
></ish-content-navigation> | ||
<div class="content-page"> | ||
<div class="row"> | ||
<ng-container | ||
*ngIf="pagelet.booleanParam('ShowSidePanel') || pagelet.booleanParam('ShowNavigation'); else noSidePanel" | ||
> | ||
<div class="page-navigation col-md-3"> | ||
<div *ngIf="pagelet.booleanParam('ShowNavigation')" class="page-navigation-contents"> | ||
<ish-content-navigation | ||
[root]="pagelet.stringParam('NavigationRoot')" | ||
[depth]="pagelet.numberParam('NavigationDepth')" | ||
></ish-content-navigation> | ||
</div> | ||
<div class="marketing-area"> | ||
<ish-content-slot | ||
[slot]="'app_sf_base_cm:slot.marketing.sidePanel.pagelet2-Slot'" | ||
[pagelet]="pagelet" | ||
></ish-content-slot> | ||
</div> | ||
</div> | ||
<div class="marketing-area"> | ||
<ish-content-slot | ||
[slot]="'app_sf_base_cm:slot.marketing.sidePanel.pagelet2-Slot'" | ||
[pagelet]="pagelet" | ||
></ish-content-slot> | ||
<div class="col-md-9"> | ||
<ish-breadcrumb></ish-breadcrumb> | ||
<div class="marketing-area"> | ||
<ish-content-slot | ||
[slot]="'app_sf_base_cm:slot.marketing.base.pagelet2-Slot'" | ||
[pagelet]="pagelet" | ||
></ish-content-slot> | ||
</div> | ||
<ish-content-slot [slot]="'app_sf_base_cm:slot.staticPage.content.pagelet2-Slot'" [pagelet]="pagelet"> | ||
</ish-content-slot> | ||
</div> | ||
</div> | ||
<div class="col-md-9"> | ||
<ish-content-slot [slot]="'app_sf_base_cm:slot.staticPage.content.pagelet2-Slot'" [pagelet]="pagelet"> | ||
</ish-content-slot> | ||
</div> | ||
</ng-container> | ||
</ng-container> | ||
|
||
<ng-template #noSidePanel> | ||
<div class="col-md-12"> | ||
<ish-content-slot [slot]="'app_sf_base_cm:slot.staticPage.content.pagelet2-Slot'" [pagelet]="pagelet"> | ||
</ish-content-slot> | ||
</div> | ||
</ng-template> | ||
<ng-template #noSidePanel> | ||
<div class="col-md-12"> | ||
<ish-breadcrumb></ish-breadcrumb> | ||
<div class="marketing-area"> | ||
<ish-content-slot | ||
[slot]="'app_sf_base_cm:slot.marketing.base.pagelet2-Slot'" | ||
[pagelet]="pagelet" | ||
></ish-content-slot> | ||
</div> | ||
<ish-content-slot [slot]="'app_sf_base_cm:slot.staticPage.content.pagelet2-Slot'" [pagelet]="pagelet"> | ||
</ish-content-slot> | ||
</div> | ||
</ng-template> | ||
</div> | ||
</div> |
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
20 changes: 8 additions & 12 deletions
20
src/app/shared/cms/components/content-navigation/content-navigation.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
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