From a4796cf5c5d87207f83ef1d7230edb4701fb431f Mon Sep 17 00:00:00 2001 From: Joel Bradshaw Date: Sun, 17 Jan 2021 03:14:26 -0800 Subject: [PATCH] Make the switching work, wows Layout's all wonky now, but hey --- .../templates/snippets/progress_update.html | 51 ++++++++++++------- 1 file changed, 33 insertions(+), 18 deletions(-) diff --git a/bookwyrm/templates/snippets/progress_update.html b/bookwyrm/templates/snippets/progress_update.html index 6936429d..79cbf159 100644 --- a/bookwyrm/templates/snippets/progress_update.html +++ b/bookwyrm/templates/snippets/progress_update.html @@ -1,25 +1,40 @@
{% csrf_token %} -
- {% if readthrough.progress_mode == 'PG' %} - on page - {% else %} - currently at - {% endif %} + +
+ +
-
- -
-
- {% if readthrough.progress_mode == 'PG' and book.pages %} - of {{ book.pages }} - {% else %} - % - {% endif %} +
+ +