Merge pull request #2922 from tararoshan/wip-edit-post-and-save

fix button text when editing posts

Resolves #2642
This commit is contained in:
Hugh Rundle 2023-07-31 16:44:30 +10:00 committed by GitHub
commit c29ca5ad32
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -15,7 +15,11 @@
<div class="control">
<button class="button is-link" type="submit">
<span class="icon icon-spinner" aria-hidden="true"></span>
{% if draft %}
<span>{% trans "Update" %}</span>
{% else %}
<span>{% trans "Post" %}</span>
{% endif %}
</button>
</div>
</div>