forked from mirrors/bookwyrm
Page to feed for mobile
This commit is contained in:
parent
50f2f4788e
commit
67411824eb
2 changed files with 3 additions and 3 deletions
|
@ -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">
|
||||
|
|
|
@ -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,
|
||||
|
|
Loading…
Reference in a new issue