+
+ Progress Updates:
+
+
+ {% if readthrough.finish_date %}
+ - {{ readthrough.start_date | naturalday }}: finished
+ {% endif %}
+ {% if readthrough.progress %}
+ - {% if readthrough.progress_mode == 'PG' %}on page {{ readthrough.progress }}{% if book.pages %} of {{ book.pages }}{% endif %}
+ {% else %}{{ readthrough.progress }}%{% endif %}
+ {% include 'snippets/toggle/toggle_button.html' with text="Show all updates" controls_text="updates" controls_uid=readthrough.id class="is-small" %}
+
+ {% for progress_update in readthrough.progress_updates %}
+ -
+
+
+ {% endfor %}
+
+
+ {% endif %}
+ - {{ readthrough.start_date | naturalday }}: started
+
- {% endif %}
- {% if readthrough.finish_date %}
-
-
Finished reading:
- {{ readthrough.finish_date | naturalday }}
-
- {% elif readthrough.progress %}
-
-
Progress:
- {% if readthrough.progress_mode == 'PG' %}
- on page {{ readthrough.progress }} of {{ book.pages }}
- {% else %}
- {{ readthrough.progress }}%
- {% endif %}
-
- {% endif %}
-
-
-
- {% include 'snippets/toggle/toggle_button.html' with class="is-small" text="Edit read dates" icon="pencil" controls_text="edit-readthrough" controls_uid=readthrough.id focus="edit-readthrough" %}
-
-
- {% include 'snippets/toggle/toggle_button.html' with class="is-small" text="Delete these read dates" icon="x" controls_text="delete-readthrough" controls_uid=readthrough.id focus="modal-title-delete-readthrough" %}
+
+
+
+ {% include 'snippets/toggle/toggle_button.html' with class="is-small" text="Edit read dates" icon="pencil" controls_text="edit-readthrough" controls_uid=readthrough.id focus="edit-readthrough" %}
+
+
+ {% include 'snippets/toggle/toggle_button.html' with class="is-small" text="Delete these read dates" icon="x" controls_text="delete-readthrough" controls_uid=readthrough.id focus="modal-title-delete-readthrough" %}
+
+
- {% if show_progress %}
- Progress Updates:
-
- {% if readthrough.finish_date %}
- - {{ readthrough.start_date | naturalday }}: finished
- {% endif %}
- {% for progress_update in readthrough.progress_updates %}
- -
-
-
- {% endfor %}
- - {{ readthrough.start_date | naturalday }}: started
-
- {% elif readthrough.progress_updates|length %}
-
Show {{ readthrough.progress_updates|length }} Progress Updates
- {% endif %}