Skip to content

Commit

Permalink
improving field descs
Browse files Browse the repository at this point in the history
  • Loading branch information
RudiThoeni committed Oct 8, 2024
1 parent cc33fed commit a3ba3d3
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 15 deletions.
14 changes: 7 additions & 7 deletions databrowser/src/config/tourism/odhTag/odhTag.sharedView.ts
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ export const odhTagSharedView = (): DetailViewConfig | EditViewConfig => ({
properties: [
shortnameCell({ required: true }),
{
title: 'TagName',
title: 'Tag Name',
component: CellComponent.StringCell,
objectMapping: { text: 'TagName.{language}' },
},
Expand Down Expand Up @@ -60,7 +60,7 @@ export const odhTagSharedView = (): DetailViewConfig | EditViewConfig => ({
},
},
{
title: 'ValidForEntity',
title: 'Valid for Entity',
component: CellComponent.CustomDataArrayCell,
arrayMapping: {
targetPropertyName: 'listItems',
Expand Down Expand Up @@ -89,12 +89,12 @@ export const odhTagSharedView = (): DetailViewConfig | EditViewConfig => ({
name: 'Additional data',
properties: [
{
title: 'DisplayAsCategory',
title: 'Display as Category',
component: CellComponent.ToggleTriStateCell,
objectMapping: { enabled: 'DisplayAsCategory' },
},
{
title: 'MappedTagIds',
title: 'Mapped Tag Ids',
component: CellComponent.CustomDataArrayCell,
arrayMapping: {
targetPropertyName: 'listItems',
Expand All @@ -107,21 +107,21 @@ export const odhTagSharedView = (): DetailViewConfig | EditViewConfig => ({
},
},
{
title: 'LTSTaggingInfo',
title: 'LTS Tagging Info',
component: CellComponent.DictionaryCell,
objectMapping: {
dictitems: 'LTSTaggingInfo',
},
},
{
title: 'IDMCategoryMapping',
title: 'IDM Category Mapping',
component: CellComponent.DictionaryCell,
objectMapping: {
dictitems: 'IDMCategoryMapping',
},
},
{
title: 'PublishDataWithTagOn',
title: 'Publish Data with this Tag on',
component: CellComponent.DictionaryCell,
objectMapping: {
dictitems: 'PublishDataWithTagOn',
Expand Down
16 changes: 8 additions & 8 deletions databrowser/src/config/tourism/tag/tag.sharedView.ts
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ export const tagSharedView = (): DetailViewConfig | EditViewConfig => ({
properties: [
shortnameCell({ required: true }),
{
title: 'TagName',
title: 'Tag Name',
component: CellComponent.StringCell,
objectMapping: { text: 'TagName.{language}' },
},
Expand Down Expand Up @@ -60,7 +60,7 @@ export const tagSharedView = (): DetailViewConfig | EditViewConfig => ({
},
},
{
title: 'ODHTagIds',
title: 'ODHTagIds (If Tag was imported from ODHTag)',
component: CellComponent.CustomDataArrayCell,
arrayMapping: {
targetPropertyName: 'listItems',
Expand Down Expand Up @@ -88,7 +88,7 @@ export const tagSharedView = (): DetailViewConfig | EditViewConfig => ({
},
},
{
title: 'ValidForEntity',
title: 'Valid for Entity',
component: CellComponent.CustomDataArrayCell,
arrayMapping: {
targetPropertyName: 'listItems',
Expand Down Expand Up @@ -117,12 +117,12 @@ export const tagSharedView = (): DetailViewConfig | EditViewConfig => ({
name: 'Additional data',
properties: [
{
title: 'DisplayAsCategory',
title: 'Display as Category',
component: CellComponent.ToggleTriStateCell,
objectMapping: { enabled: 'DisplayAsCategory' },
},
{
title: 'MappedTagIds',
title: 'Mapped Tag Ids',
component: CellComponent.CustomDataArrayCell,
arrayMapping: {
targetPropertyName: 'listItems',
Expand All @@ -135,21 +135,21 @@ export const tagSharedView = (): DetailViewConfig | EditViewConfig => ({
},
},
{
title: 'LTSTaggingInfo',
title: 'LTS Tagging Info',
component: CellComponent.DictionaryCell,
objectMapping: {
dictitems: 'LTSTaggingInfo',
},
},
{
title: 'IDMCategoryMapping',
title: 'IDM Category Mapping',
component: CellComponent.DictionaryCell,
objectMapping: {
dictitems: 'IDMCategoryMapping',
},
},
{
title: 'PublishDataWithTagOn',
title: 'Publish Data with this Tag on',
component: CellComponent.DictionaryCell,
objectMapping: {
dictitems: 'PublishDataWithTagOn',
Expand Down

0 comments on commit a3ba3d3

Please sign in to comment.