"List_users: Don't show unconfirmed users"

This commit is contained in:
Doug Le Tough 2018-04-08 13:36:13 +02:00
parent 14d801372f
commit 7ec2a627bc
2 changed files with 3 additions and 6 deletions

View File

@ -1043,7 +1043,7 @@ def list_users():
page = str(request.url_rule)
menu = get_menu(page)
message = check_user_info()
staffers = Tetawebapp_users.query.filter_by(is_admin=0).order_by(Tetawebapp_users.name).all()
staffers = Tetawebapp_users.query.filter(is_admin==0, link_id!=None).order_by(Tetawebapp_users.name).all()
return render_template('list_users.html', menu=menu, staffers=staffers, message=message)
@app.route("/account/<ID>", methods=['GET', 'POST'])

View File

@ -1,9 +1,6 @@
/*
* Do NOT modify this file:
* ------------------------
* If you want to add or modify classes, create a new
* CSS files and make it loaded after this one in the
* HTML header section of the index.html template file.
* Do NOT modify this file unless
* you exactly know what you are doing
*/
@page {