Page to feed for mobile

This commit is contained in:
Mouse Reeve 2020-09-29 17:51:57 -07:00
parent 50f2f4788e
commit 67411824eb
2 changed files with 3 additions and 3 deletions

View file

@ -24,7 +24,7 @@
{% endfor %}
</div>
<div class="column is-two-thirds">
<div class="column is-two-thirds" id="feed">
<h2 class="title is-3">Updates</h2>
{% for activity in activities %}
<div class="block">

View file

@ -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,