From 84360110fc964986f27d47b50beb820565fb8ff2 Mon Sep 17 00:00:00 2001 From: Simon Brooke Date: Fri, 7 Feb 2020 14:20:32 +0000 Subject: [PATCH] Fixes to two minor bugs * Wrong URL printed in upload page; * 'New file Foo' instead of 'New file Edit Foo' as default git commit message for a new file. --- resources/templates/edit.html | 2 +- resources/templates/upload.html | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/resources/templates/edit.html b/resources/templates/edit.html index 3213d34..3379dc5 100644 --- a/resources/templates/edit.html +++ b/resources/templates/edit.html @@ -13,7 +13,7 @@

+ value="{%if exists%}{%else%}New file {{page}}{%endif%}" required/>

diff --git a/resources/templates/upload.html b/resources/templates/upload.html index 46a48be..53284ec 100644 --- a/resources/templates/upload.html +++ b/resources/templates/upload.html @@ -4,7 +4,7 @@ {% if uploaded %} {% if is-image %}

- Uploaded image + Uploaded image {% i18n file-upload-link-text %}: