Skip to content

Commit

Permalink
feat: add detail fields
Browse files Browse the repository at this point in the history
  • Loading branch information
HenryT-CG committed Jan 14, 2024
1 parent cfc8c58 commit ba4f17a
Show file tree
Hide file tree
Showing 3 changed files with 87 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,76 @@
readonly
class="w-full"
id="product_detail_item_display_name"
[value]="product?.name"
[value]="product?.displayName"
/>
<label for="product_detail_item_display_name">{{ 'PRODUCT.DISPLAY_NAME' | translate }}</label>
</span>

<span class="p-float-label" [title]="'PRODUCT.TOOLTIPS.OPERATOR' | translate">
<input
pInputText
type="text"
readonly
class="w-full"
id="product_detail_item_operator"
[value]="product?.operator"
/>
<label for="product_detail_item_operator">{{ 'PRODUCT.OPERATOR' | translate }}</label>
</span>
<span class="p-float-label" [title]="'PRODUCT.TOOLTIPS.VERSION' | translate">
<input
pInputText
type="text"
readonly
class="w-full"
id="product_detail_item_version"
[value]="product?.version"
/>
<label for="product_detail_item_version">{{ 'PRODUCT.VERSION' | translate }}</label>
</span>
<span class="p-float-label" [title]="'PRODUCT.TOOLTIPS.IMAGE_URL' | translate">
<input
pInputText
type="text"
readonly
class="w-full"
id="product_detail_item_imageUrl"
[value]="product?.imageUrl"
/>
<label for="product_detail_item_imageUrl">{{ 'PRODUCT.IMAGE_URL' | translate }}</label>
</span>
<span class="p-float-label" [title]="'PRODUCT.TOOLTIPS.BASE_PATH' | translate">
<input
pInputText
type="text"
readonly
class="w-full"
id="product_detail_item_basePath"
[value]="product?.basePath"
/>
<label for="product_detail_item_basePath">{{ 'PRODUCT.BASE_PATH' | translate }}</label>
</span>
<span class="p-float-label" [title]="'PRODUCT.TOOLTIPS.ICON_NAME' | translate">
<input
pInputText
type="text"
readonly
class="w-full"
id="product_detail_item_iconName"
[value]="product?.iconName"
/>
<label for="product_detail_item_iconName">{{ 'PRODUCT.ICON_NAME' | translate }}</label>
</span>
<span class="p-float-label" [title]="'PRODUCT.TOOLTIPS.CLASSIFICATIONS' | translate">
<input
pInputText
type="text"
readonly
class="w-full"
id="product_detail_item_classifications"
[value]="product?.classifications"
/>
<label for="product_detail_item_classifications">{{ 'PRODUCT.CLASSIFICATIONS' | translate }}</label>
</span>
<span class="p-float-label" [title]="'PRODUCT.TOOLTIPS.DESCRIPTION' | translate">
<textarea
pInputTextarea
Expand Down
10 changes: 10 additions & 0 deletions src/assets/i18n/de.json
Original file line number Diff line number Diff line change
Expand Up @@ -105,13 +105,23 @@
"VERSION": "Version",
"DESCRIPTION": "Beschreibung",
"DISPLAY_NAME": "Anzeigename",
"OPERATOR": "Operator",
"IMAGE_URL": "Image URL",
"BASE_PATH": "Basispfad",
"ICON_NAME": "Iconname",
"CLASSIFICATIONS": "Klassifizierungen",
"WORKSPACES": "Verwendet in Workspaces",
"TOOLTIPS": {
"ID": "Eindeutige technische ID des Produkts",
"NAME": "Eindeutiger Name des Produkts",
"VERSION": "Version des Produkts",
"DESCRIPTION": "Beschreibung des Produkts",
"DISPLAY_NAME": "Anzeigename des Produkts",
"OPERATOR": "Wer hat das Produkt angelegt?",
"IMAGE_URL": "Image URL",
"BASE_PATH": "Der Basispfad wie das Produkt erreichbar ist. Muss eindeutig über alle Produkte sein",
"ICON_NAME": "Name der Icons aus der PrimeNG Icon Bibliothek. Benutzt z.b. als Default bei Menüeinträgen",
"CLASSIFICATIONS": "Klassifizierungen des Produkts, z.b. Game oder Tool. Kann zur Suche benutzt werden. Mehrere Einträge möglich",
"WORKSPACES": "Workspaces, die das Produkt benutzen"
}
},
Expand Down
10 changes: 10 additions & 0 deletions src/assets/i18n/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -105,13 +105,23 @@
"VERSION": "Version",
"DESCRIPTION": "Description",
"DISPLAY_NAME": "Display Name",
"OPERATOR": "Operator",
"IMAGE_URL": "Image URL",
"BASE_PATH": "Base Path",
"ICON_NAME": "Icon Name",
"CLASSIFICATIONS": "Classifications",
"WORKSPACES": "Used in Workspaces",
"TOOLTIPS": {
"ID": "Unique technical ID of the Product",
"NAME": "Unique Name of the Product",
"VERSION": "Version of the Product",
"DESCRIPTION": "Description of the Product",
"DISPLAY_NAME": "Display Name of the Product",
"OPERATOR": "Wer hat das Produkt angelegt?",
"IMAGE_URL": "Image URL",
"BASE_PATH": "Der Basispfad wie das Produkt erreichbar ist. Muss eindeutig über alle Produkte sein",
"ICON_NAME": "Name der Icons aus der PrimeNG Icon Bibliothek. Benutzt z.b. als Default bei Menüeinträgen",
"CLASSIFICATIONS": "Klassifizierungen des Produkts, z.b. Game oder Tool. Kann zur Suche benutzt werden. Mehrere Einträge möglich",
"WORKSPACES": "Workspaces using the Product"
}
},
Expand Down

0 comments on commit ba4f17a

Please sign in to comment.