"List_users: Don't show unconfirmed users"
This commit is contained in:
parent
14d801372f
commit
7ec2a627bc
@ -1043,7 +1043,7 @@ def list_users():
|
|||||||
page = str(request.url_rule)
|
page = str(request.url_rule)
|
||||||
menu = get_menu(page)
|
menu = get_menu(page)
|
||||||
message = check_user_info()
|
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)
|
return render_template('list_users.html', menu=menu, staffers=staffers, message=message)
|
||||||
|
|
||||||
@app.route("/account/<ID>", methods=['GET', 'POST'])
|
@app.route("/account/<ID>", methods=['GET', 'POST'])
|
||||||
|
@ -1,9 +1,6 @@
|
|||||||
/*
|
/*
|
||||||
* Do NOT modify this file:
|
* Do NOT modify this file unless
|
||||||
* ------------------------
|
* you exactly know what you are doing
|
||||||
* 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.
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
@page {
|
@page {
|
||||||
|
Loading…
Reference in New Issue
Block a user