forked from MarseyWorld/MarseyWorld
show only permachudded users in /chuds
parent
36a0d48fe6
commit
6b7b2ff59a
|
@ -181,7 +181,7 @@ def grassed(v):
|
|||
@app.get("/chuds")
|
||||
@auth_required
|
||||
def chuds(v):
|
||||
users = g.db.query(User).filter(User.agendaposter > 0)
|
||||
users = g.db.query(User).filter(User.agendaposter == 1)
|
||||
if not v.can_see_shadowbanned:
|
||||
users = users.filter(User.shadowbanned == None)
|
||||
users = users.order_by(User.username).all()
|
||||
|
|
|
@ -48,7 +48,7 @@
|
|||
{% endif %}
|
||||
<li><a href="/banned">Permabanned Users</a></li>
|
||||
{% if FEATURES['AWARDS'] -%}
|
||||
<li><a href="/chuds">Chudded Users</a></li>
|
||||
<li><a href="/chuds">Permachudded Users</a></li>
|
||||
<li><a href="/grassed">Currently Grassed Users</a></li>
|
||||
{%- endif %}
|
||||
{% if FEATURES['PROCOINS'] and (not AEVANN_ID or v.id in (AEVANN_ID, CARP_ID, SNAKES_ID)) -%}
|
||||
|
|
Loading…
Reference in New Issue