diff --git a/bookwyrm/templates/feed.html b/bookwyrm/templates/feed.html index 7da2a2855..1368660bc 100644 --- a/bookwyrm/templates/feed.html +++ b/bookwyrm/templates/feed.html @@ -47,17 +47,11 @@
-
-
- {% include 'snippets/shelve_button.html' with book=book %} -
- {% active_shelf book as active_shelf %} - {% if active_shelf.shelf.identifier == 'reading' and book.latest_readthrough %} -
- {% include 'snippets/progress_update.html' with readthrough=book.latest_readthrough %} -
- {% endif %} -
+ {% include 'snippets/shelve_button.html' with book=book %} + {% active_shelf book as active_shelf %} + {% if active_shelf.shelf.identifier == 'reading' and book.latest_readthrough %} + {% include 'snippets/progress_update.html' with readthrough=book.latest_readthrough %} + {% endif %} {% include 'snippets/create_status.html' with book=book %}
diff --git a/bookwyrm/templates/snippets/progress_update.html b/bookwyrm/templates/snippets/progress_update.html index 834766c23..a2b234044 100644 --- a/bookwyrm/templates/snippets/progress_update.html +++ b/bookwyrm/templates/snippets/progress_update.html @@ -1,25 +1,27 @@ -
+ {% csrf_token %} +
- {% if readthrough.progress_mode == 'PG' %} - on page - {% else %} - currently at - {% endif %} +
- -
-
- {% if readthrough.progress_mode == 'PG' %} - {% if book.pages %} of {{ book.pages }} {% endif %} - {% else %} % {% endif %} -
-
- +