forked from mirrors/bookwyrm
Moves readthrough templates to dir
This commit is contained in:
parent
0d2c6e63d1
commit
9521c477b2
5 changed files with 5 additions and 5 deletions
|
@ -245,13 +245,13 @@
|
||||||
</button>
|
</button>
|
||||||
</div>
|
</div>
|
||||||
</header>
|
</header>
|
||||||
{% include "book/add_readthrough_modal.html" with id="add-readthrough" %}
|
{% include "readthrough/add_readthrough_modal.html" with id="add-readthrough" %}
|
||||||
|
|
||||||
{% if not readthroughs.exists %}
|
{% if not readthroughs.exists %}
|
||||||
<p>{% trans "You don't have any reading activity for this book." %}</p>
|
<p>{% trans "You don't have any reading activity for this book." %}</p>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% for readthrough in readthroughs %}
|
{% for readthrough in readthroughs %}
|
||||||
{% include 'book/readthrough.html' with readthrough=readthrough %}
|
{% include 'readthrough/readthrough_list.html' with readthrough=readthrough %}
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
</section>
|
</section>
|
||||||
<hr aria-hidden="true">
|
<hr aria-hidden="true">
|
||||||
|
|
|
@ -13,7 +13,7 @@ Add read dates for "<em>{{ title }}</em>"
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
|
|
||||||
{% block modal-body %}
|
{% block modal-body %}
|
||||||
{% include 'snippets/readthrough_form.html' with readthrough=None %}
|
{% include 'readthrough/readthrough_form.html' with readthrough=None %}
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
|
|
||||||
{% block modal-footer %}
|
{% block modal-footer %}
|
|
@ -77,7 +77,7 @@
|
||||||
<div class="box is-hidden" id="edit_readthrough_{{ readthrough.id }}" tabindex="0">
|
<div class="box is-hidden" id="edit_readthrough_{{ readthrough.id }}" tabindex="0">
|
||||||
<h3 class="title is-5">{% trans "Edit read dates" %}</h3>
|
<h3 class="title is-5">{% trans "Edit read dates" %}</h3>
|
||||||
<form name="edit-readthrough" action="/edit-readthrough" method="post">
|
<form name="edit-readthrough" action="/edit-readthrough" method="post">
|
||||||
{% include 'snippets/readthrough_form.html' with readthrough=readthrough %}
|
{% include 'readthrough/readthrough_form.html' with readthrough=readthrough %}
|
||||||
<div class="field is-grouped">
|
<div class="field is-grouped">
|
||||||
<button class="button is-primary" type="submit">{% trans "Save" %}</button>
|
<button class="button is-primary" type="submit">{% trans "Save" %}</button>
|
||||||
{% trans "Cancel" as button_text %}
|
{% trans "Cancel" as button_text %}
|
||||||
|
@ -86,4 +86,4 @@
|
||||||
</form>
|
</form>
|
||||||
</div>
|
</div>
|
||||||
{% join "delete_readthrough" readthrough.id as modal_id %}
|
{% join "delete_readthrough" readthrough.id as modal_id %}
|
||||||
{% include 'book/delete_readthrough_modal.html' with id=modal_id %}
|
{% include 'readthrough/delete_readthrough_modal.html' with id=modal_id %}
|
Loading…
Reference in a new issue