mirror of
https://gitlab.ub.uni-bielefeld.de/sfb1288inf/nopaque.git
synced 2024-12-25 02:44:18 +00:00
Add Icons for users breadcrumbs
This commit is contained in:
parent
8dba78c474
commit
b8e63d2342
@ -26,7 +26,7 @@ from .utils import (
|
||||
|
||||
|
||||
@bp.route('')
|
||||
@register_breadcrumb(bp, '.', 'Users')
|
||||
@register_breadcrumb(bp, '.', '<i class="material-icons left">group</i>Users')
|
||||
@login_required
|
||||
def users():
|
||||
return redirect(url_for('main.social_area', _anchor='users'))
|
||||
|
@ -11,7 +11,7 @@ def user_dynamic_list_constructor():
|
||||
user = User.query.get_or_404(user_id)
|
||||
return [
|
||||
{
|
||||
'text': user.username,
|
||||
'text': f'<i class="material-icons left">account_circle</i>{user.username}',
|
||||
'url': url_for('.user', user_id=user_id)
|
||||
}
|
||||
]
|
||||
|
Loading…
Reference in New Issue
Block a user