pull/1941/head
Jamie 7 years ago
parent 59173b8bc4
commit e840f828e7

@ -44,6 +44,7 @@ export enum NotificationType {
RequestDeclined,
ItemAddedToFaultQueue,
WelcomeEmail,
IssueResolved,
}
export interface IDiscordNotifcationSettings extends INotificationSettings {

@ -1,17 +1,39 @@

<settings-menu></settings-menu>
<settings-menu>
</settings-menu>
<div *ngIf="form">
<fieldset>
<legend>Mobile Notifications</legend>
<div class="col-md-6">
<form novalidate [formGroup]="form" (ngSubmit)="onSubmit(form)">
<div *ngFor="let user of userList">
<span>{{user.username}} - {{user.devices}}</span>
<div class="row">
<div *ngIf="userList" class="col-md-8">
<table class="table table-striped table-hover table-responsive table-condensed">
<thead>
<tr>
<th>
<a>Username/Alias</a>
</th>
<th>
<a>Mobile Devices Registered</a>
</th>
</tr>
</thead>
<tbody>
<tr *ngFor="let user of userList">
<td>
{{user.username}}
</td>
<td>
{{user.devices}}
</td>
</tbody>
</table>
</div>
</div>
<div class="row">
<div class="form-group">
<div>
<button [disabled]="form.invalid" type="button" (click)="test(form)" class="btn btn-primary-outline">
@ -28,6 +50,7 @@
<button [disabled]="form.invalid" type="submit" id="save" class="btn btn-primary-outline">Submit</button>
</div>
</div>
</div>
</form>
</div>

Loading…
Cancel
Save