"List_users: Don't show unconfirmed users"

This commit is contained in:
Doug Le Tough 2018-04-08 13:36:13 +02:00
父節點 14d801372f
當前提交 7ec2a627bc
共有 2 個文件被更改,包括 3 次插入6 次删除

查看文件

@ -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'])

查看文件

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