-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathgroup-details.html
32 lines (32 loc) · 1.31 KB
/
group-details.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
<ion-header>
<ion-navbar color="navbar">
<ion-buttons left *ngIf="modal == true">
<button ion-button color="cancel" (click)="hideModal($event)">Close</button>
</ion-buttons>
<ion-title>Group</ion-title>
<ion-buttons right *ngIf="user">
<button ion-button icon-only color="primary" [solid]="website == true ? 'true' : null" *ngIf="canEdit" (click)="editGroup($event)">Edit</button>
</ion-buttons>
</ion-navbar>
</ion-header>
<ion-content>
<ion-refresher (ionRefresh)="loadUpdates(false, $event)">
<ion-refresher-content></ion-refresher-content>
</ion-refresher>
<ion-list *ngIf="group && group.members">
<ion-item color="white" text-center>
<ion-label>
<ion-icon class="group-icon-large" ios="ios-people" md="md-people"></ion-icon>
<h2 margin-top>{{group.name}}</h2>
<p>{{group.description}}</p>
</ion-label>
</ion-item>
<ion-item detail-push color="white" tappable (click)="showPerson(person)" *ngFor="let person of group.members">
<person-avatar item-left [initials]="person.initials" [image]="person.profile_picture" [large]="false"></person-avatar>
<h2>{{person.name}}</h2>
</ion-item>
</ion-list>
<div text-center class="spinner" *ngIf="loading == true">
<ion-spinner name="ios"></ion-spinner>
</div>
</ion-content>