Skip to content
Snippets Groups Projects
Commit ba54dd8e authored by Arnaud Levy's avatar Arnaud Levy
Browse files

block posts layout alternate

parent fc2fc82d
No related branches found
No related tags found
No related merge requests found
app/assets/images/communication/blocks/templates/posts/alternate.png

128 KiB

class Communication::Block::Template::Post < Communication::Block::Template::Base
has_elements
has_layouts [:grid, :list, :highlight]
has_layouts [:grid, :list, :highlight, :alternate]
has_component :mode, :option, options: [:all, :category, :selection]
has_component :posts_quantity, :number, options: 3
has_component :category_id, :category
......
......@@ -541,6 +541,9 @@ en:
list:
label: List
description: A list of posts with small images the same width.
alternate:
label: Alternate
description: Posts either on the left or on the right, composing a graphically light page.
edit:
add_post: Add post
mode:
......
......@@ -541,6 +541,9 @@ fr:
list:
label: Liste
description: Une liste d'articles avec de petites images à la même largeur.
alternate:
label: Alternance
description: Une alternance très légère graphiquement d'articles entre la gauche et la droite de la page.
edit:
add_post: Ajouter un article
mode:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment