mirror of
https://github.com/journeyman-cc/smeagol.git
synced 2026-04-12 18:05:06 +00:00
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:
parent
324f26dbf7
commit
84360110fc
2 changed files with 2 additions and 2 deletions
|
|
@ -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>
|
||||||
|
|
|
||||||
|
|
@ -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 %}:
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue