refactored mail-server

This commit is contained in:
YevhenBondarenko 2020-06-01 10:54:54 +03:00
parent 3c13b84ef4
commit 6066a6bf04
2 changed files with 2 additions and 6 deletions

View File

@ -87,8 +87,6 @@
</mat-option> </mat-option>
</mat-select> </mat-select>
</mat-form-field> </mat-form-field>
<tb-checkbox formControlName="enableProxy" style="display: block; padding-bottom: 16px;"> <tb-checkbox formControlName="enableProxy" style="display: block; padding-bottom: 16px;">
{{ 'admin.enable-proxy' | translate }} {{ 'admin.enable-proxy' | translate }}
</tb-checkbox> </tb-checkbox>
@ -119,8 +117,6 @@
<mat-label translate>admin.proxy-password</mat-label> <mat-label translate>admin.proxy-password</mat-label>
<input matInput formControlName="proxyPassword"> <input matInput formControlName="proxyPassword">
</mat-form-field> </mat-form-field>
<mat-form-field class="mat-block"> <mat-form-field class="mat-block">
<mat-label translate>common.username</mat-label> <mat-label translate>common.username</mat-label>
<input matInput formControlName="username" placeholder="{{ 'common.enter-username' | translate }}"/> <input matInput formControlName="username" placeholder="{{ 'common.enter-username' | translate }}"/>

View File

@ -35,8 +35,8 @@ export interface MailServerSettings {
enableProxy: boolean; enableProxy: boolean;
proxyHost: string; proxyHost: string;
proxyPort: number; proxyPort: number;
proxyUser?: string; proxyUser: string;
proxyPassword?: string; proxyPassword: string;
} }
export interface GeneralSettings { export interface GeneralSettings {