Skip to content

Commit

Permalink
fix: added and correct ids
Browse files Browse the repository at this point in the history
  • Loading branch information
HenryT-CG committed Jan 31, 2024
1 parent 39864b8 commit 244e7f1
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 34 deletions.
4 changes: 2 additions & 2 deletions src/app/help/help-detail/help-detail.component.html
Original file line number Diff line number Diff line change
Expand Up @@ -22,13 +22,13 @@
<ng-template pTemplate="footer">
<div class="flex flex-wrap justify-content-end gap-2 mb-1">
<p-button
id="ah_help_detail_button_close"
id="help_detail_button_close"
[label]="'GENERAL.CANCEL' | translate"
(onClick)="onDialogHide()"
icon="pi pi-times"
></p-button>
<p-button
id="ah_help_detail_button_save"
id="help_detail_button_save"
[label]="'GENERAL.SAVE' | translate"
(onClick)="onSave()"
icon="pi pi-save"
Expand Down
38 changes: 10 additions & 28 deletions src/app/help/help-form/help-form.component.html
Original file line number Diff line number Diff line change
Expand Up @@ -9,63 +9,45 @@
[readonly]="changeMode === 'EDIT'"
pInputText
type="text"
id="ah_mgmt_help_management_detail_app_id"
id="help_detail_form_app_id"
class="w-full pt-3 pb-2"
formControlName="appId"
/>
<label class="ocx-required-label" for="ah_mgmt_help_management_detail_app_id">
<label class="ocx-required-label" for="help_detail_form_app_id">
{{ 'HELP_ITEM.APPLICATION_ID' | translate }}</label
>
</span>
</div>
<div [title]="'HELP_ITEM.TOOLTIPS.HELP_ITEM_ID' | translate">
<span class="p-float-label" controlErrorAnchor>
<input
pInputText
type="text"
id="ah_mgmt_help_management_detail_app_id"
class="w-full pt-3 pb-2"
formControlName="itemId"
/>
<label class="ocx-required-label" for="ah_mgmt_help_management_detail_app_id">
<input pInputText type="text" id="help_detail_form_app_id" class="w-full pt-3 pb-2" formControlName="itemId" />
<label class="ocx-required-label" for="help_detail_form_app_id">
{{ 'HELP_ITEM.HELP_ITEM_ID' | translate }}</label
>
</span>
</div>
<div [title]="'HELP_ITEM.TOOLTIPS.CONTEXT' | translate">
<span class="p-float-label">
<input
pInputText
type="text"
id="ah_mgmt_help_management_detail_app_id"
class="w-full pt-3 pb-2"
formControlName="context"
/>
<label class="" for="ah_mgmt_help_management_detail_app_id">{{ 'HELP_ITEM.CONTEXT' | translate }}</label>
<input pInputText type="text" id="help_detail_form_app_id" class="w-full pt-3 pb-2" formControlName="context" />
<label class="" for="help_detail_form_app_id">{{ 'HELP_ITEM.CONTEXT' | translate }}</label>
</span>
</div>
<div [title]="'HELP_ITEM.TOOLTIPS.BASE_URL' | translate">
<span class="p-float-label">
<input
pInputText
type="text"
id="ah_mgmt_help_management_detail_app_id"
class="w-full pt-3 pb-2"
formControlName="baseUrl"
/>
<label class="" for="ah_mgmt_help_management_detail_app_id">{{ 'HELP_ITEM.BASE_URL' | translate }}</label>
<input pInputText type="text" id="help_detail_form_app_id" class="w-full pt-3 pb-2" formControlName="baseUrl" />
<label class="" for="help_detail_form_app_id">{{ 'HELP_ITEM.BASE_URL' | translate }}</label>
</span>
</div>
<div [title]="'HELP_ITEM.TOOLTIPS.RESOURCE_URL' | translate">
<span class="p-float-label">
<input
pInputText
type="text"
id="ah_mgmt_help_management_detail_app_id"
id="help_detail_form_app_id"
class="w-full pt-3 pb-2"
formControlName="resourceUrl"
/>
<label class="" for="ah_mgmt_help_management_detail_app_id">{{ 'HELP_ITEM.RESOURCE_URL' | translate }}</label>
<label class="" for="help_detail_form_app_id">{{ 'HELP_ITEM.RESOURCE_URL' | translate }}</label>
</span>
</div>
</div>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
<div [formGroup]="helpCriteriaGroup" class="flex flex-wrap gap-4 row-gap-3 px-2">
<span class="p-float-label">
<p-autoComplete
id="appId"
id="help_search_criteria_appId"
styleClass="w-18rem"
formControlName="appId"
[suggestions]="applicationsIdsFiltered"
Expand All @@ -20,11 +20,11 @@
[forceSelection]="true"
appendTo="body"
></p-autoComplete>
<label for="appId">{{ 'HELP_ITEM.APPLICATION_ID' | translate }}</label>
<label for="help_search_criteria_appId">{{ 'HELP_ITEM.APPLICATION_ID' | translate }}</label>
</span>
<span class="p-float-label">
<input id="itemId" pInputText type="text" formControlName="itemId" class="w-18rem" />
<label for="itemId">{{ 'HELP_ITEM.HELP_ITEM_ID' | translate }}</label>
<input id="help_search_criteria_itemId" pInputText type="text" formControlName="itemId" class="w-18rem" />
<label for="help_search_criteria_itemId">{{ 'HELP_ITEM.HELP_ITEM_ID' | translate }}</label>
</span>
</div>
</div>
Expand Down

0 comments on commit 244e7f1

Please sign in to comment.