From 24d9839d07a15d6daea6aa5d304c48b8f7b9e31b Mon Sep 17 00:00:00 2001 From: Mouse Reeve Date: Tue, 29 Sep 2020 20:01:57 -0700 Subject: [PATCH] Feed page cleanup --- bookwyrm/templates/feed.html | 3 +-- bookwyrm/templates/snippets/status_content.html | 5 ++--- 2 files changed, 3 insertions(+), 5 deletions(-) diff --git a/bookwyrm/templates/feed.html b/bookwyrm/templates/feed.html index aacab808..e9f49250 100644 --- a/bookwyrm/templates/feed.html +++ b/bookwyrm/templates/feed.html @@ -4,7 +4,6 @@
-

Recent Books

    {% for book in user_books|slice:3 %} @@ -18,6 +17,7 @@
    @@ -25,7 +25,6 @@
-

Updates

{% for activity in activities %}
{% include 'snippets/status.html' with status=activity %} diff --git a/bookwyrm/templates/snippets/status_content.html b/bookwyrm/templates/snippets/status_content.html index 48cf2577..1d63e64c 100644 --- a/bookwyrm/templates/snippets/status_content.html +++ b/bookwyrm/templates/snippets/status_content.html @@ -5,11 +5,10 @@
{% for book in status.mention_books.all|slice:"0:4" %}
- {% include 'snippets/book_cover.html' with book=book %} + {% include 'snippets/book_cover.html' with book=book %} {% if status.mention_books.count > 1 %}

{% include 'snippets/book_titleby.html' with book=book %}

{% endif %} - {% include 'snippets/rate_action.html' with book=book user=request.user %} {% include 'snippets/shelve_button.html' with book=book %}
{% endfor %} @@ -19,7 +18,7 @@ {% if not hide_book and status.book %}
- {% include 'snippets/book_cover.html' with book=status.book %} + {% include 'snippets/book_cover.html' with book=status.book %} {% include 'snippets/rate_action.html' with book=status.book user=request.user %} {% include 'snippets/shelve_button.html' with book=status.book %}