add bookmarks view
This commit is contained in:
@@ -445,8 +445,9 @@ def inbox(username):
|
||||
@login_required
|
||||
@redirect_to_own
|
||||
def bookmarks(username):
|
||||
username = username.lower()
|
||||
return 'stub'
|
||||
user = get_active_user()
|
||||
collections = BookmarkCollections.get_for_user(user.id)
|
||||
return render_template('users/bookmarks.html', collections=collections)
|
||||
|
||||
@bp.get('/<username>/bookmarks/collections/')
|
||||
@login_required
|
||||
|
||||
Reference in New Issue
Block a user