forked from MarseyWorld/MarseyWorld
sneed
parent
d1e391683b
commit
6bd0043248
|
@ -106,6 +106,8 @@ def daily_chart(v):
|
|||
@app.get("/paypigs")
|
||||
@admin_level_required(3)
|
||||
def patrons(v):
|
||||
if AEVANN_ID and v.id != AEVANN_ID: abort(404)
|
||||
|
||||
users = g.db.query(User).filter(User.patron > 0).order_by(User.patron.desc(), User.id).all()
|
||||
|
||||
return render_template("patrons.html", v=v, users=users)
|
||||
|
|
|
@ -48,7 +48,7 @@
|
|||
<li><a href="/agendaposters">Users with Chud Theme</a></li>
|
||||
<li><a href="/grassed">Currently Grassed Users</a></li>
|
||||
{%- endif %}
|
||||
{% if FEATURES['PROCOINS'] -%}
|
||||
{% if FEATURES['PROCOINS'] and (not AEVANN_ID or v.id == AEVANN_ID) -%}
|
||||
<li><a href="/patrons">Patrons / Paypigs</a></li>
|
||||
{%- endif %}
|
||||
<li><a href="/admin/loggedin">Currently Logged-in Users</a></li>
|
||||
|
|
Loading…
Reference in New Issue