diff --git a/files/routes/static.py b/files/routes/static.py index e91367e9d..bb9670fd5 100644 --- a/files/routes/static.py +++ b/files/routes/static.py @@ -496,8 +496,6 @@ def robots_txt(): @auth_required @cache.memoize(timeout=3600) def badges(v): - nonlurk_truecoins = 100 - badges = g.db.query(BadgeDef).order_by(BadgeDef.id).all() counts_raw = g.db.query(Badge.badge_id, func.count()).group_by(Badge.badge_id).all() users = g.db.query(User.id).count() @@ -506,7 +504,7 @@ def badges(v): for c in counts_raw: counts[c[0]] = (c[1], float(c[1]) * 100 / max(users, 1)) - return render_template("badges.html", v=v, badges=badges, counts=counts, nonlurk=users, nonlurk_tc=nonlurk_truecoins) + return render_template("badges.html", v=v, badges=badges, counts=counts) @app.get("/blocks") @auth_required diff --git a/files/templates/badges.html b/files/templates/badges.html index b7e72b1e1..aebeb87b4 100644 --- a/files/templates/badges.html +++ b/files/templates/badges.html @@ -7,7 +7,6 @@

User Badges

This page describes the requirements for obtaining all profile badges.
-
Rarity is the ratio of badge quantity to the number of non-lurkers (truescore ≥ {{ nonlurk_tc }}): {{ nonlurk }}.