From 44846f4931e825e134845c807dcf95126ce4b332 Mon Sep 17 00:00:00 2001
From: Arnaud Levy <contact@arnaudlevy.com>
Date: Wed, 11 May 2022 08:16:52 +0200
Subject: [PATCH] remove description

---
 .../communication/blocks/templates/timeline/_edit.html.erb | 7 -------
 .../communication/blocks/templates/timeline/_show.html.erb | 1 -
 2 files changed, 8 deletions(-)

diff --git a/app/views/admin/communication/blocks/templates/timeline/_edit.html.erb b/app/views/admin/communication/blocks/templates/timeline/_edit.html.erb
index 6a9f54f1c..a646b4816 100644
--- a/app/views/admin/communication/blocks/templates/timeline/_edit.html.erb
+++ b/app/views/admin/communication/blocks/templates/timeline/_edit.html.erb
@@ -1,10 +1,3 @@
-<label for="description"><%= t '.description_placeholder' %></label>
-<textarea class="form-control mb-2"
-          rows="3"
-          v-model="data.description"
-          placeholder="<%= t '.description_placeholder' %>"
-          id="description"></textarea>
-
 <a  class="<%= button_classes('mb-4') %>"
     v-on:click="data.elements.push({title: '', text: ''})">
     <%= t '.add_event' %>
diff --git a/app/views/admin/communication/blocks/templates/timeline/_show.html.erb b/app/views/admin/communication/blocks/templates/timeline/_show.html.erb
index 0bbdf7c17..1094e2dde 100644
--- a/app/views/admin/communication/blocks/templates/timeline/_show.html.erb
+++ b/app/views/admin/communication/blocks/templates/timeline/_show.html.erb
@@ -1,4 +1,3 @@
-<p><%= @block.template.description %></p>
 <div class="<%= 'row' unless @preview %>">
   <% @block.template.events.each do |event| %>
       <div class="<%= 'col-xxl-4 col-xl-6' unless @preview %>">
-- 
GitLab