mirror of
https://gitlab.ub.uni-bielefeld.de/sfb1288inf/nopaque.git
synced 2025-06-13 01:20:41 +00:00
Remove options to change username and email.
This commit is contained in:
@ -11,6 +11,11 @@ def index():
|
||||
return render_template('main/index.html.j2', title='Portal')
|
||||
|
||||
|
||||
@main.route('/about')
|
||||
def about():
|
||||
return render_template('main/about.html.j2', title='About')
|
||||
|
||||
|
||||
@main.route('/admin')
|
||||
@login_required
|
||||
@admin_required
|
||||
@ -21,5 +26,5 @@ def for_admins_only():
|
||||
users = User.query.order_by(User.username).all()
|
||||
items = [AdminUserItem(u.username, u.email, u.role_id, u.confirmed) for u in users]
|
||||
table = AdminUserTable(items)
|
||||
return render_template('main/admin.html.j2', title='Administration Tools',
|
||||
return render_template('main/admin.html.j2', title='Administration tools',
|
||||
table=table.__html__())
|
||||
|
Reference in New Issue
Block a user