plugins-functionality #43
|
@ -111,6 +111,10 @@
|
|||
(click)="selectedPlacementView = position.value"><span
|
||||
class="title">{{position.label}}</span></a></li>
|
||||
</ul>
|
||||
<!-- filters-->
|
||||
<div>
|
||||
<input [ngModel]="filterActive" [checked]="filterActive" (ngModelChange)="filterActive = !filterActive" type="checkbox" class="uk-checkbox"> Show active
|
||||
</div>
|
||||
</div>
|
||||
<div *ngIf="templateView" class="uk-width-expand">
|
||||
<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>
|
||||
<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 ) &&
|
||||
(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-body uk-flex">
|
||||
<div class="uk-width-expand uk-text-small">
|
||||
|
|
|
@ -68,6 +68,7 @@ export class PluginsComponent implements OnInit {
|
|||
public sinlgePlacementAvailable = false;
|
||||
communityInfo:CommunityInfo = null;
|
||||
editSubmenuOpen = false;
|
||||
filterActive = true;
|
||||
constructor(private element: ElementRef, private route: ActivatedRoute, private _router: Router,
|
||||
private communityService: CommunityService,
|
||||
private title: Title, private _helpContentService: HelpContentService,
|
||||
|
|
Loading…
Reference in New Issue