Skip to content
Snippets Groups Projects
Commit 25a4f2a7 authored by Olivia206's avatar Olivia206
Browse files

Added photo boolean to organization chart

parent 364a21f1
No related branches found
No related tags found
No related merge requests found
......@@ -3,5 +3,6 @@ class Communication::Block::Template::OrganizationChart < Communication::Block::
has_elements
has_component :description, :rich_text
has_component :with_link, :boolean
has_component :with_photo, :boolean
end
......@@ -5,6 +5,7 @@
<div class="col-xl-6">
<label class="form-label">&nbsp;</label>
<%= block_component_edit :with_link %>
<%= block_component_edit :with_photo %>
</div>
</div>
......
......@@ -283,6 +283,8 @@ en:
label: Description
with_link:
label: With clickable links to the person's page?
with_photo:
label: With a portrait for each person?
element:
person:
label: Person
......
......@@ -282,7 +282,9 @@ fr:
drag_title: Glisser-déposer pour organiser les personnes
delete_title: Enlever la personne
with_link:
label: Avec des liens cliquables vers les pages des personnes ?
label: Avec des liens cliquables vers les pages des personnes ?
with_photo:
label: Avec un portrait de chaque personne ?
description:
label: Description
element:
......
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