-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathsettings-regions.html
26 lines (26 loc) · 1.07 KB
/
settings-regions.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
<ion-header>
<ion-navbar color="navbar">
<ion-buttons left>
<button ion-button color="cancel" (click)="cancelEdit($event)">Cancel</button>
</ion-buttons>
<ion-title>Organization Regions</ion-title>
<ion-buttons right>
<button ion-button color="primary" [solid]="website == true ? 'true' : null" (click)="doneEdit($event)">Done</button>
</ion-buttons>
</ion-navbar>
</ion-header>
<ion-content>
<ion-refresher (ionRefresh)="loadRegions(false, $event)">
<ion-refresher-content></ion-refresher-content>
</ion-refresher>
<ion-list *ngIf="organization">
<ion-item color="white" text-wrap *ngFor="let country of organization.countries">
<ion-label>{{country.name}}</ion-label>
<person-avatar item-left [initials]="country.code" [image]="country.image" [large]="false"></person-avatar>
<ion-checkbox item-right color="primary" [(ngModel)]="country.selected"></ion-checkbox>
</ion-item>
<div text-center class="spinner" *ngIf="loading == true">
<ion-spinner name="ios"></ion-spinner>
</div>
</ion-list>
</ion-content>