From b95ebb3192faf2fdb7a3a60275db8f9b23fd7857 Mon Sep 17 00:00:00 2001 From: Arnaud Levy <contact@arnaudlevy.com> Date: Tue, 21 Jun 2022 10:53:05 +0200 Subject: [PATCH] fix events in timeline --- .../communication/blocks/templates/timeline/_static.html.erb | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/app/views/admin/communication/blocks/templates/timeline/_static.html.erb b/app/views/admin/communication/blocks/templates/timeline/_static.html.erb index 1c59a843e..2c8edafc7 100644 --- a/app/views/admin/communication/blocks/templates/timeline/_static.html.erb +++ b/app/views/admin/communication/blocks/templates/timeline/_static.html.erb @@ -1,4 +1,5 @@ + events: <% block.template.elements.each do |element| %> -<%= block_component_static :title, template: element, depth: 3, list: true %> -<%= block_component_static :text, template: element, depth: 4 %> +<%= block_component_static :title, template: element, depth: 4, list: true %> +<%= block_component_static :text, template: element, depth: 5 %> <% end %> -- GitLab