mirror of
https://gitlab.ub.uni-bielefeld.de/sfb1288inf/nopaque.git
synced 2024-12-25 10:54:18 +00:00
Move settings
This commit is contained in:
parent
0520caeddd
commit
fac6ba11ed
@ -78,7 +78,7 @@ def profile_avatar(user_id):
|
||||
|
||||
|
||||
@bp.route('/<hashid:user_id>/edit', methods=['GET', 'POST'])
|
||||
@register_breadcrumb(bp, '.entity.edit', '<i class="material-icons left">settings</i>Edit', endpoint_arguments_constructor=user_eac)
|
||||
@register_breadcrumb(bp, 'breadcrumbs.settings', '<i class="material-icons left">settings</i>Settings', endpoint_arguments_constructor=user_eac)
|
||||
@login_required
|
||||
def edit_profile(user_id):
|
||||
user = User.query.get_or_404(user_id)
|
||||
@ -172,5 +172,5 @@ def edit_profile(user_id):
|
||||
change_password_form=change_password_form,
|
||||
edit_notification_settings_form=edit_notification_settings_form,
|
||||
user=user,
|
||||
title='Edit Profile'
|
||||
title='Settings'
|
||||
)
|
||||
|
Loading…
Reference in New Issue
Block a user