mirror of
https://github.com/bookwyrm-social/bookwyrm.git
synced 2025-01-23 23:48:07 +00:00
Merge pull request #2922 from tararoshan/wip-edit-post-and-save
fix button text when editing posts Resolves #2642
This commit is contained in:
commit
c29ca5ad32
1 changed files with 4 additions and 0 deletions
|
@ -15,7 +15,11 @@
|
||||||
<div class="control">
|
<div class="control">
|
||||||
<button class="button is-link" type="submit">
|
<button class="button is-link" type="submit">
|
||||||
<span class="icon icon-spinner" aria-hidden="true"></span>
|
<span class="icon icon-spinner" aria-hidden="true"></span>
|
||||||
|
{% if draft %}
|
||||||
|
<span>{% trans "Update" %}</span>
|
||||||
|
{% else %}
|
||||||
<span>{% trans "Post" %}</span>
|
<span>{% trans "Post" %}</span>
|
||||||
|
{% endif %}
|
||||||
</button>
|
</button>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
Loading…
Reference in a new issue