Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions app/models/communication/block/template/page.rb
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ class Communication::Block::Template::Page < Communication::Block::Template::Bas
has_component :category_id, :page_category

has_component :option_image, :boolean, default: true
has_component :option_subtitle, :boolean, default: true
has_component :option_categories, :boolean, default: false
has_component :option_main_summary, :boolean, default: true
has_component :option_summary, :boolean, default: true
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@
<%= osuny_label t('admin.communication.blocks.display_options.title') %>
<%= block_component_edit block, :option_main_summary %>
<%= block_component_edit block, :option_image %>
<%= block_component_edit block, :option_subtitle %>
<%= block_component_edit block, :option_summary %>
<%= block_component_edit block, :option_categories %>
<% end %>
2 changes: 2 additions & 0 deletions config/locales/communication/blocks/en.yml
Original file line number Diff line number Diff line change
Expand Up @@ -595,6 +595,8 @@ en:
label: Show pages images
option_main_summary:
label: Show main page summary
option_subtitle:
label: Show pages subtitle
option_summary:
label: Show pages short descriptions
page_id:
Expand Down
2 changes: 2 additions & 0 deletions config/locales/communication/blocks/fr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -596,6 +596,8 @@ fr:
label: Afficher les images des pages
option_main_summary:
label: Afficher le résumé de la page principale
option_subtitle:
label: Afficher les sous-titres des pages
option_summary:
label: Afficher les descriptions courtes des pages
page_id:
Expand Down
Loading