mirror of
https://gitlab.ub.uni-bielefeld.de/sfb1288inf/nopaque.git
synced 2025-06-12 00:50:40 +00:00
Avatar condition and breadcrumb update
This commit is contained in:
@ -35,13 +35,13 @@ def dashboard():
|
||||
|
||||
|
||||
@bp.route('/user_manual')
|
||||
@register_breadcrumb(bp, '.user_manual', 'User manual')
|
||||
@register_breadcrumb(bp, '.user_manual', '<i class="material-icons left">help</i>User manual')
|
||||
def user_manual():
|
||||
return render_template('main/user_manual.html.j2', title='User manual')
|
||||
|
||||
|
||||
@bp.route('/news')
|
||||
@register_breadcrumb(bp, '.news', 'News')
|
||||
@register_breadcrumb(bp, '.news', '<i class="material-icons left">email</i>News')
|
||||
def news():
|
||||
return render_template('main/news.html.j2', title='News')
|
||||
|
||||
@ -59,7 +59,7 @@ def terms_of_use():
|
||||
|
||||
|
||||
@bp.route('/social-area')
|
||||
@register_breadcrumb(bp, '.social_area', 'Social Area')
|
||||
@register_breadcrumb(bp, '.social_area', '<i class="material-icons left">group</i>Social Area')
|
||||
def social_area():
|
||||
users = [
|
||||
u.to_json_serializeable(relationships=True, filter_by_privacy_settings=True,) for u
|
||||
|
Reference in New Issue
Block a user