From 67411824eb42ce29f61e8e9dd4c7b1e8ba1b168c Mon Sep 17 00:00:00 2001 From: Mouse Reeve Date: Tue, 29 Sep 2020 17:51:57 -0700 Subject: [PATCH] Page to feed for mobile --- bookwyrm/templates/feed.html | 2 +- bookwyrm/views.py | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/bookwyrm/templates/feed.html b/bookwyrm/templates/feed.html index 2c3766d2..aacab808 100644 --- a/bookwyrm/templates/feed.html +++ b/bookwyrm/templates/feed.html @@ -24,7 +24,7 @@ {% endfor %} -
+

Updates

{% for activity in activities %}
diff --git a/bookwyrm/views.py b/bookwyrm/views.py index 85a9e023..b172ab5e 100644 --- a/bookwyrm/views.py +++ b/bookwyrm/views.py @@ -64,8 +64,8 @@ def home_tab(request, tab): activity_count = activities.count() activities = activities[(page - 1) * page_size:page * page_size] - next_page = '/?page=%d' % (page + 1) - prev_page = '/?page=%d' % (page - 1) + next_page = '/?page=%d#feed' % (page + 1) + prev_page = '/?page=%d#feed' % (page - 1) data = { 'user': request.user, 'user_books': user_books,