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

Block organizations map

parent 1ec73dc7
No related branches found
No related tags found
No related merge requests found
app/assets/images/communication/blocks/templates/partners/grid.png

115 KiB

app/assets/images/communication/blocks/templates/partners/map.png

1.26 MiB

class Communication::Block::Template::Partner < Communication::Block::Template::Base
has_elements
has_layouts [:grid, :map]
has_component :description, :rich_text
has_component :with_link, :boolean
has_component :alphabetical, :boolean
......
<%= block_component_edit :layout %>
<div class="row pure__row--small">
<div class="col-xl-6">
<%= block_component_edit :description %>
......
layout: <%= block.template.layout %>
<%= block_component_static :description %>
<%= block_component_static :with_link %>
partners:
......
......@@ -446,6 +446,13 @@ en:
title: Layout options
partners:
description: A list of organizations with logo, name and website.
layouts:
grid:
label: Grid
description: Square logos and a simple text below.
map:
label: Map
description: A geographic map, with a pin for every organization with a known location.
edit:
add_partner: Add organization
alphabetical:
......
......@@ -446,6 +446,13 @@ fr:
title: Options d'affichage
partners:
description: Une liste d'organisations, avec leur logo, leur site et leur nom.
layouts:
grid:
label: Grille
description: Une série de logos carrés, avec le nom de chaque organisation.
map:
label: Carte
description: Une carte géographique avec un repère pour chaque organisation dont l'adresse est connue.
edit:
add_partner: Ajouter une organisation
alphabetical:
......
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