From e50861841fdfb3396d6498c57ddd7d4a5cb5b7bd Mon Sep 17 00:00:00 2001 From: Miguel Serrano Date: Thu, 1 Oct 2020 12:46:11 +0200 Subject: [PATCH] added patch to fix left footer with html links --- server-ce/hotfix/2.4.2/Dockerfile | 4 ++++ .../hotfix/2.4.2/left-footer-skip-translation.patch | 12 ++++++++++++ 2 files changed, 16 insertions(+) create mode 100644 server-ce/hotfix/2.4.2/left-footer-skip-translation.patch diff --git a/server-ce/hotfix/2.4.2/Dockerfile b/server-ce/hotfix/2.4.2/Dockerfile index 8058aa687b..640eea78c3 100644 --- a/server-ce/hotfix/2.4.2/Dockerfile +++ b/server-ce/hotfix/2.4.2/Dockerfile @@ -4,3 +4,7 @@ FROM sharelatex/sharelatex:2.4.1 # Patch: Fixes anonymous read/write sharing COPY anonymous-metadata.patch ${baseDir} RUN cd ${baseDir} && patch -p0 < anonymous-metadata.patch + +# Patch: Fixes left footer with html text +COPY left-footer-skip-translation.patch ${baseDir} +RUN cd ${baseDir} && patch -p0 < left-footer-skip-translation.patch diff --git a/server-ce/hotfix/2.4.2/left-footer-skip-translation.patch b/server-ce/hotfix/2.4.2/left-footer-skip-translation.patch new file mode 100644 index 0000000000..ee6e33a417 --- /dev/null +++ b/server-ce/hotfix/2.4.2/left-footer-skip-translation.patch @@ -0,0 +1,12 @@ + +--- /var/www/sharelatex/web/app/views/layout/footer.pug ++++ /var/www/sharelatex/web/app/app/views/layout/footer.pug +@@ -32,7 +32,7 @@ footer.site-footer + if item.url + a(href=item.url, class=item.class) !{translate(item.text)} + else +- | !{translate(item.text)} ++ | !{item.text} + + ul.col-md-3.text-right +