Skip to content

Commit

Permalink
chore: update countryFlag schema descriptions
Browse files Browse the repository at this point in the history
  • Loading branch information
laszlocseh committed May 15, 2024
1 parent 97b2ca4 commit c68782f
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,8 @@
"@eeacms/countup": "*",
"@eeacms/volto-embed": "*",
"@eeacms/volto-group-block": "*",
"@eeacms/volto-matomo": "*",
"@eeacms/volto-listing-block": "*",
"@eeacms/volto-matomo": "*",
"d3": "7.1.1",
"date-fns": "2.28.0",
"humanize-plus": "^1.8.2",
Expand Down
7 changes: 7 additions & 0 deletions src/components/manage/Blocks/CountryFlag/schema.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,21 +23,28 @@ const CountryFlagSchema = () => {
properties: {
country_name: {
title: 'Country name',
description: 'Select the country to be displayed.',
choices: [],
},
render_as: {
title: 'HTML tag',
},
show_name: {
title: 'Show country name',
description:
'Enable it to display the name of the selected country. Disable it to display the title of the page.',
type: 'boolean',
},
show_flag: {
title: 'Show country flag',
description:
'Enable it to display the flag of the selected country. Disable it to display the preview image of the current page. If the page has no preview image set, it will display nothing.',
type: 'boolean',
},
show_dropdown: {
title: 'Show dropdown',
description:
'Enable the dropdown select to navigate to other pages. In the "Dropdown items" section you can set the criterias to filter the items displayed in the dropdown. If no criterias are set, the siblings of the current page are displayed in the dropdown.',
type: 'boolean',
},
querystring: {
Expand Down

0 comments on commit c68782f

Please sign in to comment.