diff --git a/files/routes/admin.py b/files/routes/admin.py index 9d750867c..6e6f329d4 100644 --- a/files/routes/admin.py +++ b/files/routes/admin.py @@ -350,13 +350,7 @@ def admin_home(v): if not v or v.oldsite: return render_template(f"admin/admin_home.html", v=v, x=x) - page=int(request.args.get("page",1)) - - if v and v.admin_level == 6: actions = g.db.query(ModAction).order_by(ModAction.id.desc()).offset(25 * (page - 1)).limit(26).all() - else: actions=g.db.query(ModAction).filter(ModAction.kind!="shadowban", ModAction.kind!="unshadowban", ModAction.kind!="club", ModAction.kind!="unclub").order_by(ModAction.id.desc()).offset(25*(page-1)).limit(26).all() - - next_exists=len(actions)==26 - actions=actions[:25] + actions = g.db.query(ModAction).order_by(ModAction.id.desc()).limit(10).all() return render_template(f"CHRISTMAS/admin/admin_home.html", actions=actions, v=v, x=x) diff --git a/files/templates/admin/alt_votes.html b/files/templates/admin/alt_votes.html index 7acaeeb16..0c6cbc472 100644 --- a/files/templates/admin/alt_votes.html +++ b/files/templates/admin/alt_votes.html @@ -27,7 +27,7 @@ - +
diff --git a/files/templates/admin/awards.html b/files/templates/admin/awards.html index a43c9ff0d..4d534aa70 100644 --- a/files/templates/admin/awards.html +++ b/files/templates/admin/awards.html @@ -40,7 +40,7 @@
-
+
diff --git a/files/templates/admin/badge_grant.html b/files/templates/admin/badge_grant.html index 98647dd98..b7c6d4e67 100644 --- a/files/templates/admin/badge_grant.html +++ b/files/templates/admin/badge_grant.html @@ -42,7 +42,7 @@
-
Icon
+
diff --git a/files/templates/admin/banned_domains.html b/files/templates/admin/banned_domains.html index 1b36f7e3e..bac049522 100644 --- a/files/templates/admin/banned_domains.html +++ b/files/templates/admin/banned_domains.html @@ -10,7 +10,7 @@ -
Select
+
diff --git a/files/templates/admin/content_stats.html b/files/templates/admin/content_stats.html index 322701bec..2299101a3 100644 --- a/files/templates/admin/content_stats.html +++ b/files/templates/admin/content_stats.html @@ -7,7 +7,7 @@ {% block content %}

-
Domain
+
diff --git a/files/templates/admins.html b/files/templates/admins.html index 00d04a252..28ef0e443 100644 --- a/files/templates/admins.html +++ b/files/templates/admins.html @@ -6,7 +6,7 @@
Admins

-
Statistic
+
diff --git a/files/templates/agendaposters.html b/files/templates/agendaposters.html index 7e9630b50..72dfd41a0 100644 --- a/files/templates/agendaposters.html +++ b/files/templates/agendaposters.html @@ -1,7 +1,7 @@ {% extends "settings2.html" %} {% block content %} -
#
+
diff --git a/files/templates/authforms.html b/files/templates/authforms.html index 63be6c6ee..3aca497ab 100644 --- a/files/templates/authforms.html +++ b/files/templates/authforms.html @@ -15,7 +15,7 @@ {% if v %} - + {% if v.agendaposter %} - + {% endif %} diff --git a/files/templates/badges.html b/files/templates/badges.html index 087c124ba..2ef67c8b9 100644 --- a/files/templates/badges.html +++ b/files/templates/badges.html @@ -10,7 +10,7 @@ -
#
+
diff --git a/files/templates/banned.html b/files/templates/banned.html index 60daa7526..4a5f32a34 100644 --- a/files/templates/banned.html +++ b/files/templates/banned.html @@ -1,7 +1,7 @@ {% extends "settings2.html" %} {% block content %} -
Name
+
diff --git a/files/templates/blocks.html b/files/templates/blocks.html index d5eb89a63..236a1ec3e 100644 --- a/files/templates/blocks.html +++ b/files/templates/blocks.html @@ -5,7 +5,7 @@ {% block content %}

Blocks


-
#
+
diff --git a/files/templates/default.html b/files/templates/default.html index fc3284bfa..85571ac70 100644 --- a/files/templates/default.html +++ b/files/templates/default.html @@ -7,7 +7,7 @@ {% if v %} - + {% if v.agendaposter %} - + {% endif %} diff --git a/files/templates/email/2fa_remove.html b/files/templates/email/2fa_remove.html index 8ff0a7c93..06af4bf29 100644 --- a/files/templates/email/2fa_remove.html +++ b/files/templates/email/2fa_remove.html @@ -7,12 +7,12 @@ {% block content %}

We received a request to remove two-factor authentication from your account. In 72 hours, click the link below.

If you didn't make this request, change your password and use the Log Out Everywhere feature in your Security Settings to permanently invalidate the link.

-
User
+