2024-07-18 17:59:04 +03:00
|
|
|
<form [formGroup]="timezoneForm" class="mat-content">
|
|
|
|
|
<section class="tb-form-panel">
|
|
|
|
|
<div class="tb-form-panel-title">{{ 'timezone.timezone' | translate }}</div>
|
2024-07-29 18:47:48 +03:00
|
|
|
<tb-timezone-select [localBrowserTimezonePlaceholderOnEmpty]="localBrowserTimezonePlaceholderOnEmpty"
|
2024-07-18 17:59:04 +03:00
|
|
|
formControlName="timezone"
|
|
|
|
|
subscriptSizing="dynamic"
|
2024-07-29 18:47:48 +03:00
|
|
|
appearance="outline"
|
|
|
|
|
displayLabel="false">
|
2024-07-18 17:59:04 +03:00
|
|
|
</tb-timezone-select>
|
|
|
|
|
</section>
|
|
|
|
|
</form>
|
|
|
|
|
<div fxLayout="row" class="tb-panel-actions" fxLayoutAlign="end center">
|
|
|
|
|
<button type="button"
|
|
|
|
|
mat-button
|
|
|
|
|
[disabled]="(isLoading$ | async)"
|
|
|
|
|
(click)="cancel()">
|
|
|
|
|
{{ 'action.cancel' | translate }}
|
|
|
|
|
</button>
|
|
|
|
|
<button type="button"
|
|
|
|
|
mat-raised-button
|
|
|
|
|
color="primary"
|
|
|
|
|
(click)="update()"
|
|
|
|
|
[disabled]="(isLoading$ | async) || timezoneForm.invalid || !timezoneForm.dirty">
|
|
|
|
|
{{ 'action.apply' | translate }}
|
|
|
|
|
</button>
|
|
|
|
|
</div>
|