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