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.
This commit is contained in:
Simon Brooke 2020-02-07 14:20:32 +00:00
parent 324f26dbf7
commit 84360110fc
2 changed files with 2 additions and 2 deletions

View file

@ -13,7 +13,7 @@
<p class="widget"> <p class="widget">
<label for="summary">{% i18n what-changed-prompt %}</label> <label for="summary">{% i18n what-changed-prompt %}</label>
<input name="summary" id="summary" type="text" <input name="summary" id="summary" type="text"
value="{%if exists%}{%else%}New file {{title}}{%endif%}" required/> value="{%if exists%}{%else%}New file {{page}}{%endif%}" required/>
</p> </p>
<p class="widget"> <p class="widget">
<label for="submit">{% i18n save-prompt %}</label> <label for="submit">{% i18n save-prompt %}</label>

View file

@ -4,7 +4,7 @@
{% if uploaded %} {% if uploaded %}
{% if is-image %} {% if is-image %}
<p> <p>
<img id="uploaded-image" alt="Uploaded image" src="content/uploads/{{uploaded}}"/> <img id="uploaded-image" alt="Uploaded image" src="uploads/{{uploaded}}"/>
{% i18n file-upload-link-text %}: {% i18n file-upload-link-text %}: