Moves readthrough templates to dir

This commit is contained in:
Mouse Reeve 2022-01-11 09:58:28 -08:00
parent 0d2c6e63d1
commit 9521c477b2
5 changed files with 5 additions and 5 deletions

View file

@ -245,13 +245,13 @@
</button>
</div>
</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 %}
<p>{% trans "You don't have any reading activity for this book." %}</p>
{% endif %}
{% for readthrough in readthroughs %}
{% include 'book/readthrough.html' with readthrough=readthrough %}
{% include 'readthrough/readthrough_list.html' with readthrough=readthrough %}
{% endfor %}
</section>
<hr aria-hidden="true">

View file

@ -13,7 +13,7 @@ Add read dates for "<em>{{ title }}</em>"
{% endblock %}
{% block modal-body %}
{% include 'snippets/readthrough_form.html' with readthrough=None %}
{% include 'readthrough/readthrough_form.html' with readthrough=None %}
{% endblock %}
{% block modal-footer %}

View file

@ -77,7 +77,7 @@
<div class="box is-hidden" id="edit_readthrough_{{ readthrough.id }}" tabindex="0">
<h3 class="title is-5">{% trans "Edit read dates" %}</h3>
<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">
<button class="button is-primary" type="submit">{% trans "Save" %}</button>
{% trans "Cancel" as button_text %}
@ -86,4 +86,4 @@
</form>
</div>
{% 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 %}