UI: Fixed resize width windows device-wizard-dialog; improvement translate en_US
This commit is contained in:
parent
a99a8e458c
commit
6dbb4897b4
@ -82,7 +82,8 @@
|
||||
[selectFirstProfile]="true"
|
||||
[editProfileEnabled]="false">
|
||||
</tb-device-profile-autocomplete>
|
||||
<mat-form-field fxFlex class="mat-block">
|
||||
<mat-form-field fxFlex class="mat-block"
|
||||
[ngClass]="{invisible: deviceWizardFormGroup.get('addProfileType').value !== 1}">
|
||||
<mat-label translate>device-profile.new-device-profile-name</mat-label>
|
||||
<input matInput formControlName="newDeviceProfileTitle"
|
||||
[required]="createProfile">
|
||||
@ -93,12 +94,14 @@
|
||||
</div>
|
||||
<div fxLayout="column" fxLayoutAlign="flex-end start">
|
||||
<tb-rule-chain-autocomplete
|
||||
[ngClass]="{invisible: deviceWizardFormGroup.get('addProfileType').value !== 1}"
|
||||
labelText="device-profile.default-rule-chain"
|
||||
formControlName="defaultRuleChainId">
|
||||
</tb-rule-chain-autocomplete>
|
||||
</div>
|
||||
<div fxLayout="column" fxLayoutAlign="flex-end start">
|
||||
<tb-queue-type-list
|
||||
[ngClass]="{invisible: deviceWizardFormGroup.get('addProfileType').value !== 1}"
|
||||
[queueType]="serviceType"
|
||||
formControlName="defaultQueueName">
|
||||
</tb-queue-type-list>
|
||||
|
||||
@ -22,6 +22,10 @@
|
||||
max-height: 75vh;
|
||||
}
|
||||
}
|
||||
|
||||
.invisible{
|
||||
visibility: hidden;
|
||||
}
|
||||
}
|
||||
|
||||
:host ::ng-deep {
|
||||
@ -60,6 +64,12 @@
|
||||
height: 100%;
|
||||
}
|
||||
}
|
||||
|
||||
tb-device-profile-autocomplete, tb-queue-type-list{
|
||||
.mat-form-field-wrapper{
|
||||
width: 180px !important;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@ -874,7 +874,7 @@
|
||||
"profile-configuration": "Profile configuration",
|
||||
"transport-configuration": "Transport configuration",
|
||||
"default-rule-chain": "Default rule chain",
|
||||
"select-queue-hint": "The queue name can be selected from a drop-down list or add a custom name.",
|
||||
"select-queue-hint": "Select from a drop-down list or add a custom name.",
|
||||
"delete-device-profile-title": "Are you sure you want to delete the device profile '{{deviceProfileName}}'?",
|
||||
"delete-device-profile-text": "Be careful, after the confirmation the device profile and all related data will become unrecoverable.",
|
||||
"delete-device-profiles-title": "Are you sure you want to delete { count, plural, 1 {1 device profile} other {# device profiles} }?",
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user