forked from MarseyWorld/MarseyWorld
minor change to punished listings
parent
b433efb7fd
commit
df804c3179
|
@ -340,7 +340,7 @@ def shadowbanned(v):
|
|||
users = g.db.query(User) \
|
||||
.filter(
|
||||
User.shadowbanned != None,
|
||||
User.truescore >= 100,
|
||||
User.truescore >= 10,
|
||||
) \
|
||||
.order_by(nullslast(User.last_active.desc())).all()
|
||||
|
||||
|
|
|
@ -174,7 +174,6 @@ def banned(v:User):
|
|||
users = g.db.query(User).filter(
|
||||
User.is_banned != None,
|
||||
or_(User.unban_utc == 0, User.unban_utc > time.time()),
|
||||
User.truescore >= 100,
|
||||
)
|
||||
if v.admin_level >= PERMS['VIEW_LAST_ACTIVE']:
|
||||
users = users.order_by(nullslast(User.last_active.desc()))
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
{% block pagetitle %}Shadowbanned Users{% endblock %}
|
||||
{% block content %}
|
||||
|
||||
<h5 class="my-4">Shadowbanned Users (>= 100 Truscore)</h5>
|
||||
<h5 class="my-4">Shadowbanned Users (>= 10 Truscore)</h5>
|
||||
<div class="overflow-x-auto">
|
||||
<table class="table table-striped mb-5">
|
||||
<thead class="bg-primary text-white">
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
{% block pagetitle %}Banned Users{% endblock %}
|
||||
{% block content %}
|
||||
|
||||
<h5 class="my-4">Banned Users (>= 100 Truscore)</h5>
|
||||
<h5 class="my-4">Banned Users</h5>
|
||||
<div class="overflow-x-auto"><table class="table table-striped mb-5">
|
||||
<thead class="bg-primary text-white">
|
||||
<tr>
|
||||
|
|
Loading…
Reference in New Issue