plugins-functionality #43
|
@ -111,6 +111,10 @@
|
||||||
(click)="selectedPlacementView = position.value"><span
|
(click)="selectedPlacementView = position.value"><span
|
||||||
class="title">{{position.label}}</span></a></li>
|
class="title">{{position.label}}</span></a></li>
|
||||||
</ul>
|
</ul>
|
||||||
|
<!-- filters-->
|
||||||
|
<div>
|
||||||
|
<input [ngModel]="filterActive" [checked]="filterActive" (ngModelChange)="filterActive = !filterActive" type="checkbox" class="uk-checkbox"> Show active
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div *ngIf="templateView" class="uk-width-expand">
|
<div *ngIf="templateView" class="uk-width-expand">
|
||||||
<a routerLink="../.." class="uk-flex uk-flex-middle uk-h5 uk-link-reset">
|
<a routerLink="../.." class="uk-flex uk-flex-middle uk-h5 uk-link-reset">
|
||||||
|
@ -143,7 +147,8 @@
|
||||||
class="uk-heading-divider uk-h6 uk-margin-left uk-padding-remove-left uk-text-capitalize ">{{placement.value}}</div>
|
class="uk-heading-divider uk-h6 uk-margin-left uk-padding-remove-left uk-text-capitalize ">{{placement.value}}</div>
|
||||||
<ng-container *ngFor="let pluginGroup of pluginsByPlacement.get(placement.value) ; let i=index">
|
<ng-container *ngFor="let pluginGroup of pluginsByPlacement.get(placement.value) ; let i=index">
|
||||||
<ng-container *ngIf="(pluginGroup.template.portalSpecific.length == 0 || pluginGroup.template.portalSpecific.indexOf(communityInfo.communityId) != -1 ) &&
|
<ng-container *ngIf="(pluginGroup.template.portalSpecific.length == 0 || pluginGroup.template.portalSpecific.indexOf(communityInfo.communityId) != -1 ) &&
|
||||||
(pluginGroup.template.plan == 'Standard' || pluginGroup.template.plan == 'Default' || pluginGroup.template.plan == communityInfo.plan )">
|
(pluginGroup.template.plan == 'Standard' || pluginGroup.template.plan == 'Default' || pluginGroup.template.plan == communityInfo.plan )
|
||||||
|
&& ( !filterActive || (filterActive && pluginGroup.plugin.active))">
|
||||||
<div class="uk-card uk-card-default uk-margin-bottom">
|
<div class="uk-card uk-card-default uk-margin-bottom">
|
||||||
<div class="uk-card-body uk-flex">
|
<div class="uk-card-body uk-flex">
|
||||||
<div class="uk-width-expand uk-text-small">
|
<div class="uk-width-expand uk-text-small">
|
||||||
|
|
|
@ -68,6 +68,7 @@ export class PluginsComponent implements OnInit {
|
||||||
public sinlgePlacementAvailable = false;
|
public sinlgePlacementAvailable = false;
|
||||||
communityInfo:CommunityInfo = null;
|
communityInfo:CommunityInfo = null;
|
||||||
editSubmenuOpen = false;
|
editSubmenuOpen = false;
|
||||||
|
filterActive = true;
|
||||||
constructor(private element: ElementRef, private route: ActivatedRoute, private _router: Router,
|
constructor(private element: ElementRef, private route: ActivatedRoute, private _router: Router,
|
||||||
private communityService: CommunityService,
|
private communityService: CommunityService,
|
||||||
private title: Title, private _helpContentService: HelpContentService,
|
private title: Title, private _helpContentService: HelpContentService,
|
||||||
|
|
Loading…
Reference in New Issue