Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FIX 30888 #553

Merged
merged 2 commits into from Mar 29, 2018
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
39 changes: 15 additions & 24 deletions src/app/pages/account/groups/members/members.component.html
@@ -1,25 +1,16 @@
<div class="material mat-card mat-card-table">
<div class="mat-toolbar mat-card-toolbar">
<div class="mat-card-title-text">Members</div>
</div>

<div>
<br/>
</div>

<div class="padding-16" *ngIf="members.length > 0">
<app-dual-listbox [items]="members" [(selectedItems)]="selectedMembers">
<ng-template #templateItem let-item="data">
<mat-card>
<mat-card-title>Members</mat-card-title>
<mat-card-content>
<div class="padding-16" *ngIf="members.length > 0">
<app-dual-listbox [items]="members" [(selectedItems)]="selectedMembers">
<ng-template #templateItem let-item="data">
<mat-list-item class="pointer">{{item.username}}</mat-list-item>
</ng-template>
</app-dual-listbox>
</div>
</div>
<section class="fab">
<button mat-fab class="mat-fab-bottom-right-1" color="primary" (click)="updateUsers()">
<mat-icon class="md-16 ">{{ "Save" | translate }}</mat-icon>
</button>
<button mat-fab class="mat-fab-bottom-right-2" color="primary" (click)="cancel()">
<mat-icon class="md-16">{{ "Clear" | translate }}</mat-icon>
</button>
</section>
</ng-template>
</app-dual-listbox>
</div>
</mat-card-content>
<mat-card-actions>
<button mat-raised-button color="primary" (click)="updateUsers()">{{ 'Save' | translate }}</button>
<button mat-raised-button color="accent" (click)="cancel()">{{ 'Cancel' | translate }}</button>
</mat-card-actions>
</mat-card>