Skip to content
Snippets Groups Projects
Commit b8e63d23 authored by Patrick Jentsch's avatar Patrick Jentsch
Browse files

Add Icons for users breadcrumbs

parent 8dba78c4
No related branches found
No related tags found
No related merge requests found
...@@ -26,7 +26,7 @@ from .utils import ( ...@@ -26,7 +26,7 @@ from .utils import (
@bp.route('') @bp.route('')
@register_breadcrumb(bp, '.', 'Users') @register_breadcrumb(bp, '.', '<i class="material-icons left">group</i>Users')
@login_required @login_required
def users(): def users():
return redirect(url_for('main.social_area', _anchor='users')) return redirect(url_for('main.social_area', _anchor='users'))
......
...@@ -11,7 +11,7 @@ def user_dynamic_list_constructor(): ...@@ -11,7 +11,7 @@ def user_dynamic_list_constructor():
user = User.query.get_or_404(user_id) user = User.query.get_or_404(user_id)
return [ return [
{ {
'text': user.username, 'text': f'<i class="material-icons left">account_circle</i>{user.username}',
'url': url_for('.user', user_id=user_id) 'url': url_for('.user', user_id=user_id)
} }
] ]
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment