UI: Fixed short server ID help tooltip
This commit is contained in:
parent
66ad0544ec
commit
d644da842d
@ -57,7 +57,7 @@
|
|||||||
<mat-form-field fxFlex>
|
<mat-form-field fxFlex>
|
||||||
<mat-label>{{ 'device-profile.lwm2m.short-id' | translate }}</mat-label>
|
<mat-label>{{ 'device-profile.lwm2m.short-id' | translate }}</mat-label>
|
||||||
<mat-icon *ngIf="!disabled" class="mat-primary" aria-hidden="false" aria-label="help-icon" matSuffix style="cursor:pointer;"
|
<mat-icon *ngIf="!disabled" class="mat-primary" aria-hidden="false" aria-label="help-icon" matSuffix style="cursor:pointer;"
|
||||||
matTooltip="{{'device-profile.lwm2m.short-id-tooltip' | translate }}">help</mat-icon>
|
matTooltip="{{ (isBootstrap ? 'device-profile.lwm2m.short-id-tooltip-bootstrap': 'device-profile.lwm2m.short-id-tooltip') | translate }}">help</mat-icon>
|
||||||
<input matInput type="number" [min]="shortServerIdMin" [max]="shortServerIdMax" formControlName="shortServerId" required>
|
<input matInput type="number" [min]="shortServerIdMin" [max]="shortServerIdMax" formControlName="shortServerId" required>
|
||||||
<mat-error *ngIf="serverFormGroup.get('shortServerId').hasError('required')">
|
<mat-error *ngIf="serverFormGroup.get('shortServerId').hasError('required')">
|
||||||
{{ 'device-profile.lwm2m.short-id-required' | translate }}
|
{{ 'device-profile.lwm2m.short-id-required' | translate }}
|
||||||
|
|||||||
@ -1860,6 +1860,7 @@
|
|||||||
"server": "Server",
|
"server": "Server",
|
||||||
"short-id": "Short server ID",
|
"short-id": "Short server ID",
|
||||||
"short-id-tooltip": "Server short Id. Used as link to associate server Object Instance.\nThis identifier uniquely identifies each LwM2M Server configured for the LwM2M Client.\nResource MUST be set when the Bootstrap-Server Resource has a value of 'false'.\nThe values ID:0 and ID:65535 values MUST NOT be used for identifying the LwM2M Server.",
|
"short-id-tooltip": "Server short Id. Used as link to associate server Object Instance.\nThis identifier uniquely identifies each LwM2M Server configured for the LwM2M Client.\nResource MUST be set when the Bootstrap-Server Resource has a value of 'false'.\nThe values ID:0 and ID:65535 values MUST NOT be used for identifying the LwM2M Server.",
|
||||||
|
"short-id-tooltip-bootstrap": "Server short Id. Used as link to associate server Object Instance.\nThis identifier uniquely identifies each LwM2M Server configured for the LwM2M Client.\nResource MUST be set when the Bootstrap-Server Resource has a value of 'false'.",
|
||||||
"short-id-required": "Short server ID is required.",
|
"short-id-required": "Short server ID is required.",
|
||||||
"short-id-range": "Short server ID should be in a range from {{ min }} to {{ max }}.",
|
"short-id-range": "Short server ID should be in a range from {{ min }} to {{ max }}.",
|
||||||
"short-id-pattern": "Short server ID must be a positive integer.",
|
"short-id-pattern": "Short server ID must be a positive integer.",
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user