diff --git a/app/models/communication/block/template/page.rb b/app/models/communication/block/template/page.rb index 2d3285619a0be1f55b704617428664e9db20f22c..1f0b62aa1e5216401b9e3027aef9ddd6fd77c7ab 100644 --- a/app/models/communication/block/template/page.rb +++ b/app/models/communication/block/template/page.rb @@ -1,7 +1,13 @@ class Communication::Block::Template::Page < Communication::Block::Template::Base has_elements - has_layouts [:grid, :list, :cards, :alternate] + has_layouts [ + :grid, + :list, + :cards, + :alternate, + :large + ] has_component :mode, :option, options: [:selection, :children] has_component :text, :rich_text has_component :page_id, :page diff --git a/config/locales/communication/contents/en.yml b/config/locales/communication/contents/en.yml index 83f2c85c9ff8d4dc7c174f90675809398b166bfb..55a9ed0a16ce133e903f06ce3e6f01407ed76672 100644 --- a/config/locales/communication/contents/en.yml +++ b/config/locales/communication/contents/en.yml @@ -378,6 +378,9 @@ en: alternate: label: Alternate description: Pages either on the left or on the right, composing a graphically light layout. + large: + label: Grand + description: Each page is presented in majesty, across the full width available, with a large image. edit: mode: label: List kind diff --git a/config/locales/communication/contents/fr.yml b/config/locales/communication/contents/fr.yml index dca7c76898cbe28c216eaacdba45ff72eed63333..51345cf4060efc625d9b4a69f5efb07b9ee98c1b 100644 --- a/config/locales/communication/contents/fr.yml +++ b/config/locales/communication/contents/fr.yml @@ -378,6 +378,9 @@ fr: alternate: label: Alternance description: Une alternance très légère graphiquement de pages, rythmée entre la gauche et la droite. + large: + label: Grand + description: Chaque page est présentée en majesté, sur toute la largeur disponible avec une grande image. edit: mode: label: Type de liste