Avatar condition and breadcrumb update

This commit is contained in:
Inga Kirschnick
2023-03-14 14:21:23 +01:00
parent 777151b2bf
commit f1be57e509
5 changed files with 7 additions and 15 deletions

View File

@ -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