From e3f91f9edd9ea1ad84c38cd44aaccdcfdf21f456 Mon Sep 17 00:00:00 2001
From: alexisben <alexiben7@gmail.com>
Date: Mon, 16 May 2022 10:37:29 +0200
Subject: [PATCH] Fix vidblock static indentation

---
 .../blocks/templates/definitions/_static.html.erb             | 4 ++--
 .../communication/blocks/templates/embed/_static.html.erb     | 4 ++--
 .../communication/blocks/templates/video/_static.html.erb     | 2 +-
 3 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/app/views/admin/communication/blocks/templates/definitions/_static.html.erb b/app/views/admin/communication/blocks/templates/definitions/_static.html.erb
index eba1ccc49..51a2c4a72 100644
--- a/app/views/admin/communication/blocks/templates/definitions/_static.html.erb
+++ b/app/views/admin/communication/blocks/templates/definitions/_static.html.erb
@@ -1,6 +1,6 @@
 <% block.template.definitions.each do |definition| %>
       - title: >-
-          <%= prepare_html_for_static definition.title, about.university %>
+          <%= prepare_html_for_static definition.title, about.university, 5 %>
         text: >-
-          <%= prepare_html_for_static definition.text, about.university %>
+          <%= prepare_html_for_static definition.text, about.university, 5  %>
 <% end %>
diff --git a/app/views/admin/communication/blocks/templates/embed/_static.html.erb b/app/views/admin/communication/blocks/templates/embed/_static.html.erb
index a5277bb4d..a167ed95e 100644
--- a/app/views/admin/communication/blocks/templates/embed/_static.html.erb
+++ b/app/views/admin/communication/blocks/templates/embed/_static.html.erb
@@ -1,4 +1,4 @@
       code: >-
-        <%= prepare_html_for_static block.template.code, about.university %>
+        <%= prepare_html_for_static block.template.code, about.university, 4 %>
       transcription: >-
-        <%= prepare_text_for_static block.template.transcription %>
+        <%= prepare_text_for_static block.template.transcription, 4 %>
diff --git a/app/views/admin/communication/blocks/templates/video/_static.html.erb b/app/views/admin/communication/blocks/templates/video/_static.html.erb
index 1828b4833..09979f74e 100644
--- a/app/views/admin/communication/blocks/templates/video/_static.html.erb
+++ b/app/views/admin/communication/blocks/templates/video/_static.html.erb
@@ -1,4 +1,4 @@
       url: >-
         <%= prepare_text_for_static block.template.url %>
       transcription: >-
-        <%= prepare_text_for_static block.template.transcription %>
+        <%= prepare_text_for_static block.template.transcription, 4  %>
-- 
GitLab