[FIX] website_event: address misleading editor options

This commit enhances the user experience by rewording editor options to
ensure predictability. Specifically:

- The use of the `o_we_sublevel_1` class was misleading as these options
  are not tied to the main layout type.

- The term "Templates" was ambiguous, as the option actually renders
  event's template badges.

task-3718417
part of task-3698364

Part-of: odoo/odoo#152434
This commit is contained in:
stefanorigano (SRI)
2024-03-21 19:54:27 +00:00
parent ad7ece2231
commit 3962ef8486
2 changed files with 12 additions and 4 deletions
@@ -362,6 +362,16 @@ msgstr ""
msgid "Cards"
msgstr ""
#. module: website_event
#: model_terms:ir.ui.view,arch_db:website_event.snippet_options
msgid "Card design"
msgstr ""
#. module: website_event
#: model_terms:ir.ui.view,arch_db:website_event.snippet_options
msgid "Template badge"
msgstr ""
#. module: website_event
#: model_terms:ir.ui.view,arch_db:website_event.display_timer_alert_widget
#: model_terms:ir.ui.view,arch_db:website_event.index_topbar
@@ -19,13 +19,11 @@
<we-button data-customize-website-views="website_event.opt_events_list_columns">Grid</we-button>
<we-button data-customize-website-views="">List</we-button>
</we-select>
<we-checkbox string="Cards"
class="o_we_sublevel_1"
<we-checkbox string="Card design"
data-customize-website-views="website_event.opt_events_list_cards"
data-no-preview="true"
data-reload="/"/>
<we-checkbox string="Templates"
class="o_we_sublevel_1"
<we-checkbox string="Template badge"
data-customize-website-views="website_event.opt_events_list_categories"
data-no-preview="true"
data-reload="/"/>