Monitor page: Move sub categories to inner content
This commit is contained in:
parent
2188f7da81
commit
1b7fb83001
|
@ -70,19 +70,6 @@
|
|||
</a>
|
||||
</div>-->
|
||||
</div>
|
||||
<div *ngIf="activeCategory && countSubCategoriesToShow(activeCategory) > 1" class="uk-flex uk-flex-right">
|
||||
<ul class="uk-subnav uk-subnav-pill-alt">
|
||||
<ng-template ngFor [ngForOf]="activeCategory.subCategories" let-subCategory let-i="index">
|
||||
<li *ngIf="isPublicOrIsMember(subCategory.visibility)"
|
||||
[ngClass]="(subCategory.alias === activeSubCategory.alias)?'uk-active':''">
|
||||
<a [routerLink]="['/', stakeholder.alias, activeTopic.alias, activeCategory.alias, subCategory.alias]"
|
||||
[queryParams]="queryParams"
|
||||
class="uk-margin-remove-bottom"
|
||||
><span>{{subCategory.name}}</span></a>
|
||||
</li>
|
||||
</ng-template>
|
||||
</ul>
|
||||
</div>
|
||||
<!-- TODO reconsider filters-->
|
||||
<!--<div *ngIf="countSelectedFilters() > 0" class="uk-grid uk-grid-small uk-margin-bottom uk-text-small">
|
||||
<span class="uk-grid-margin">Filters: </span>
|
||||
|
@ -90,7 +77,20 @@
|
|||
</div>-->
|
||||
</div>
|
||||
<div inner>
|
||||
<div [class.uk-padding]="!isSmallScreen" class="uk-padding-remove-vertical">
|
||||
<div *ngIf="activeCategory && countSubCategoriesToShow(activeCategory) > 1" class="uk-flex uk-flex-right uk-margin-bottom">
|
||||
<ul class="uk-subnav uk-subnav-pill-alt">
|
||||
<ng-template ngFor [ngForOf]="activeCategory.subCategories" let-subCategory let-i="index">
|
||||
<li *ngIf="isPublicOrIsMember(subCategory.visibility)"
|
||||
[ngClass]="(subCategory.alias === activeSubCategory.alias)?'uk-active':''">
|
||||
<a [routerLink]="['/', stakeholder.alias, activeTopic.alias, activeCategory.alias, subCategory.alias]"
|
||||
[queryParams]="queryParams"
|
||||
class="uk-margin-remove-bottom"
|
||||
><span>{{subCategory.name}}</span></a>
|
||||
</li>
|
||||
</ng-template>
|
||||
</ul>
|
||||
</div>
|
||||
<div [class.uk-padding]="!isSmallScreen">
|
||||
<div *ngIf="privateStakeholder" class="message">
|
||||
<div class="uk-text-center">
|
||||
<h3 class="uk-flex uk-flex-middle">
|
||||
|
|
|
@ -1 +1 @@
|
|||
Subproject commit e103ced738865ae94b6448985248c4541d7f4a9d
|
||||
Subproject commit 3f370dd293b6c4a9de5b38dbe4365feed7ea6e92
|
|
@ -1 +1 @@
|
|||
Subproject commit f593a9913be4db3406ff1b0f92a9c8fbdfa6db75
|
||||
Subproject commit f2b0dcbc5deb14bb59669e1a5aea23ccd8d27763
|
|
@ -1 +1 @@
|
|||
Subproject commit c9dd790861ec988c621a7b6d1ccf161a209d6154
|
||||
Subproject commit f23bc9269ffce76467f8d314ca48a5b4fa7b7de8
|
Loading…
Reference in New Issue