UI: Minor improvement notification settings
This commit is contained in:
parent
7fd9d2955b
commit
a68b12bdd5
@ -28,7 +28,6 @@
|
|||||||
<div style="height: 4px;" *ngIf="!(isLoading$ | async)"></div>
|
<div style="height: 4px;" *ngIf="!(isLoading$ | async)"></div>
|
||||||
<mat-card-content>
|
<mat-card-content>
|
||||||
<form [formGroup]="smsProvider" (ngSubmit)="save()">
|
<form [formGroup]="smsProvider" (ngSubmit)="save()">
|
||||||
<fieldset [disabled]="isLoading$ | async">
|
|
||||||
<tb-sms-provider-configuration
|
<tb-sms-provider-configuration
|
||||||
required
|
required
|
||||||
formControlName="configuration">
|
formControlName="configuration">
|
||||||
@ -42,13 +41,11 @@
|
|||||||
type="submit">{{'action.save' | translate}}
|
type="submit">{{'action.save' | translate}}
|
||||||
</button>
|
</button>
|
||||||
</div>
|
</div>
|
||||||
</fieldset>
|
|
||||||
</form>
|
</form>
|
||||||
</mat-card-content>
|
</mat-card-content>
|
||||||
</mat-card>
|
</mat-card>
|
||||||
<form [formGroup]="notificationSettingsForm" (ngSubmit)="saveNotification()">
|
<form [formGroup]="notificationSettingsForm" (ngSubmit)="saveNotification()">
|
||||||
<fieldset [disabled]="isLoading$ | async" formGroupName="deliveryMethodsConfigs">
|
<mat-card appearance="outlined" class="settings-card" formGroupName="deliveryMethodsConfigs">
|
||||||
<mat-card appearance="outlined" class="settings-card">
|
|
||||||
<mat-card-header>
|
<mat-card-header>
|
||||||
<mat-card-title>
|
<mat-card-title>
|
||||||
<span class="mat-headline-5" translate>admin.slack-settings</span>
|
<span class="mat-headline-5" translate>admin.slack-settings</span>
|
||||||
@ -89,6 +86,5 @@
|
|||||||
</button>
|
</button>
|
||||||
</mat-card-actions>
|
</mat-card-actions>
|
||||||
</mat-card>
|
</mat-card>
|
||||||
</fieldset>
|
|
||||||
</form>
|
</form>
|
||||||
|
|
||||||
|
|||||||
@ -16,6 +16,7 @@
|
|||||||
:host {
|
:host {
|
||||||
.mat-mdc-card-header {
|
.mat-mdc-card-header {
|
||||||
align-items: center;
|
align-items: center;
|
||||||
|
min-height: 64px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.mdc-card__actions {
|
.mdc-card__actions {
|
||||||
|
|||||||
@ -328,6 +328,7 @@ export class SentNotificationDialogComponent extends
|
|||||||
return '/settings/outgoing-mail';
|
return '/settings/outgoing-mail';
|
||||||
case NotificationDeliveryMethod.SMS:
|
case NotificationDeliveryMethod.SMS:
|
||||||
case NotificationDeliveryMethod.SLACK:
|
case NotificationDeliveryMethod.SLACK:
|
||||||
|
case NotificationDeliveryMethod.MOBILE_APP:
|
||||||
return '/settings/notifications';
|
return '/settings/notifications';
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user