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

Fix #2125 Fix #2124

parent 4460724b
No related branches found
No related tags found
No related merge requests found
......@@ -3,9 +3,6 @@
<%= block_component_static block, :layout %>
<%= block_component_static block, :description %>
<%= block_component_static block, :no_event_message %>
<%= block_component_static block, :show_summary %>
<%= block_component_static block, :show_category %>
<%= block_component_static block, :show_status %>
title_link: "<%= block.template.title_link %>"
<% if block.template.mode == 'category' && block.template.category %>
category: "<%= block.template.category.path %>"
......
layout: <%= block.template.layout %>
<%= block_component_static block, :description %>
<%= block_component_static block, :with_link %>
<%= block_options_static block %>
organizations:
<% block.template.selected_elements.each do |element| %>
......
json.layout block.template.layout
json.description block.template.description
json.with_link block.template.with_link
json.organizations block.template.elements do |element|
if element.organization
json.slug element.organization.slug
......
......@@ -7,9 +7,6 @@ if block.template.page
slug: "<%= page.slug %>"
file: "<%= page.git_path_relative %>"
<% end %>
show_main_description: <%= block.template.show_main_description %>
show_descriptions: <%= block.template.show_description %>
show_images: <%= block.template.show_image %>
<%= block_options_static block %>
layout: <%= block.template.layout %>
pages:
......
<%= block_component_static block, :description %>
<%= block_component_static block, :with_link %>
<%= block_component_static block, :with_photo %>
<%= block_options_static block %>
persons:
<%
......
<%= block_component_static block, :mode %>
<%= block_component_static block, :hide_image %>
<%= block_component_static block, :hide_summary %>
<%= block_component_static block, :hide_category %>
<%= block_component_static block, :hide_author %>
<%= block_component_static block, :hide_date %>
<% if block.template.mode == 'all' %>
all: true
<% elsif block.template.mode == 'category' && block.template.category %>
......
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