add bookmarks view

This commit is contained in:
2026-06-02 17:58:06 +03:00
parent edfa2e232f
commit 2c8bc6dca8
15 changed files with 223 additions and 46 deletions

View File

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