add inbox view
This commit is contained in:
@@ -189,8 +189,10 @@ def settings(username):
|
||||
@login_required
|
||||
@redirect_to_own
|
||||
def inbox(username):
|
||||
username = username.lower()
|
||||
return 'stub'
|
||||
user = get_active_user()
|
||||
unread_count = user.get_unread_count()
|
||||
subscriptions = user.get_all_subscriptions()
|
||||
return render_template('users/inbox.html', unread_count=unread_count, subscriptions=subscriptions)
|
||||
|
||||
@bp.get('/<username>/bookmarks/')
|
||||
@login_required
|
||||
|
||||
Reference in New Issue
Block a user