forked from mirrors/bookwyrm
Match wording to state
This commit is contained in:
parent
7ccb02f635
commit
a412f87c64
1 changed files with 10 additions and 2 deletions
|
@ -3,9 +3,17 @@
|
||||||
{% load utilities %}
|
{% load utilities %}
|
||||||
|
|
||||||
{% block modal-title %}
|
{% block modal-title %}
|
||||||
|
|
||||||
|
{% if readthrough %}
|
||||||
|
{% blocktrans trimmed with title=book|book_title %}
|
||||||
|
Update read dates for "<em>{{ title }}</em>"
|
||||||
|
{% endblocktrans %}
|
||||||
|
{% else %}
|
||||||
{% blocktrans trimmed with title=book|book_title %}
|
{% blocktrans trimmed with title=book|book_title %}
|
||||||
Add read dates for "<em>{{ title }}</em>"
|
Add read dates for "<em>{{ title }}</em>"
|
||||||
{% endblocktrans %}
|
{% endblocktrans %}
|
||||||
|
{% endif %}
|
||||||
|
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
|
|
||||||
{% block modal-form-open %}
|
{% block modal-form-open %}
|
||||||
|
@ -61,7 +69,7 @@ Add read dates for "<em>{{ title }}</em>"
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
|
|
||||||
{% block modal-footer %}
|
{% block modal-footer %}
|
||||||
<button class="button is-primary" type="submit">{% trans "Add" %}</button>
|
<button class="button is-primary" type="submit">{% trans "Save" %}</button>
|
||||||
{% if not static %}
|
{% if not static %}
|
||||||
<button type="button" class="button" data-modal-close>{% trans "Cancel" %}</button>
|
<button type="button" class="button" data-modal-close>{% trans "Cancel" %}</button>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
Loading…
Reference in a new issue