1
0
Fork 0

Book page back to usable

This commit is contained in:
Mouse Reeve 2020-03-16 17:19:38 -07:00
parent 7e73bae07d
commit e1c598b7cf
2 changed files with 34 additions and 46 deletions

View file

@ -331,7 +331,11 @@ def book_page(request, book_identifier, tab='friends'):
'user_tag_names': user_tags.values_list('identifier', flat=True),
'review_form': review_form,
'tag_form': tag_form,
'feed_tabs': ['friends', 'local', 'federated'],
'feed_tabs': [
{'id': 'friends', 'display': 'Friends'},
{'id': 'local', 'display': 'Local'},
{'id': 'federated', 'display': 'Federated'}
],
'active_tab': tab,
'path': '/book/%s' % book_identifier,
}