{% load i18n %} {% load humanize %} {% load tz %} {% load utilities %}
{% trans "Progress Updates:" %}
    {% if readthrough.finish_date or readthrough.progress %}
  • {% if readthrough.finish_date %} {{ readthrough.finish_date | localtime | naturalday }}: {% trans "finished" %} {% else %} {% if readthrough.progress_mode == 'PG' %} {% include 'snippets/page_text.html' with page=readthrough.progress total_pages=book.pages %} {% else %} {{ readthrough.progress }}% {% endif %} {% endif %} {% if readthrough.progress %} {% trans "Show all updates" as button_text %} {% include 'snippets/toggle/toggle_button.html' with text=button_text controls_text="updates" controls_uid=readthrough.id class="is-small" %} {% endif %}
  • {% endif %} {% if readthrough.start_date %}
  • {{ readthrough.start_date | localtime | naturalday }}: {% trans "started" %}
  • {% endif %}
{% trans "Edit read dates" as button_text %} {% include 'snippets/toggle/toggle_button.html' with class="is-small" text=button_text icon="pencil" controls_text="edit_readthrough" controls_uid=readthrough.id focus="edit_readthrough" %}
{% trans "Delete these read dates" as button_text %}
{% join "delete_readthrough" readthrough.id as modal_id %} {% include 'readthrough/delete_readthrough_modal.html' with id=modal_id %}