1
0
mirror of https://github.com/aquatix/digimarks.git synced 2025-12-06 23:05:10 +01:00

Show tags on bookmarks overview

This commit is contained in:
2016-07-21 15:08:29 +02:00
parent 4aae87a534
commit caa7ea2711
2 changed files with 12 additions and 1 deletions

View File

@@ -190,7 +190,8 @@ def bookmarks(userkey):
#else:
# abort(404)
bookmarks = Bookmark.select().where(Bookmark.userkey == userkey)
return render_template('bookmarks.html', bookmarks=bookmarks, userkey=userkey)
tags = get_tags_for_user(userkey)
return render_template('bookmarks.html', bookmarks=bookmarks, userkey=userkey, tags=tags)