From 6e0a9f47b5a1a9884884e20f9be4e2afb6a5237c Mon Sep 17 00:00:00 2001
From: Quentin Duchemin <quentinduchemin@tuta.io>
Date: Thu, 2 May 2019 03:05:39 +0200
Subject: [PATCH] Add * in title when edit and dirty fix to change default
 title

---
 pica-etherpad/Dockerfile | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/pica-etherpad/Dockerfile b/pica-etherpad/Dockerfile
index 9211f2a2..769236b3 100644
--- a/pica-etherpad/Dockerfile
+++ b/pica-etherpad/Dockerfile
@@ -44,6 +44,7 @@ RUN curl -SL https://github.com/ether/etherpad-lite/archive/${ETHERPAD_VERSION}.
         ep_font_family \
         ep_headings2 \
         ep_hide_referrer \
+        ep_pad_activity_nofication_in_title \
         ep_pads_stats \
         ep_page_view \
         ep_set_title_on_pad \
@@ -60,7 +61,10 @@ RUN curl -SL https://github.com/ether/etherpad-lite/archive/${ETHERPAD_VERSION}.
     # Less margin for comment zone
     sed -i 's|calc(100% - 150px)|calc(100% - 10px)|g' src/static/skins/colibris/src/layout.css && \
     # Enlarge lines
-    echo '#innerdocbody > div { margin-right: 0 !important; }' >> src/static/skins/colibris/src/pad-editor.css
+    echo '#innerdocbody > div { margin-right: 0 !important; }' >> src/static/skins/colibris/src/pad-editor.css && \
+    # Change default hard-coded pad title
+    sed -i 's|Untitled Pad|Nouveau pad|g' node_modules/ep_set_title_on_pad/templates/title.ejs && \
+    sed -i 's|Untitled Pad|Nouveau pad|g' static/tests/frontend/specs/atest.js
 
 
 # construction de l'image finale
-- 
GitLab