diff --git a/files/routes/subs.py b/files/routes/subs.py index 09def2747..87b5fd36f 100644 --- a/files/routes/subs.py +++ b/files/routes/subs.py @@ -223,14 +223,14 @@ def remove_mod(v, sub): @app.get("/create_sub") @is_not_permabanned def create_sub(v): - if SITE_NAME != 'PCM' and v.admin_level < 3: abort(403) - - if request.host == 'rdrama.net': cost = 0 + if request.host == 'rdrama.net': + if v.admin_level < 3: abort(403) + cost = 0 else: num = v.subs_created + 1 for a in v.alts: num += a.subs_created - cost = num * 100 + cost = num * 10000 return render_template("sub/create_sub.html", v=v, cost=cost) @@ -249,7 +249,7 @@ def create_sub2(v): num = v.subs_created + 1 for a in v.alts: num += a.subs_created - cost = num * 100 + cost = num * 10000 if not valid_sub_regex.fullmatch(name): return render_template("sub/create_sub.html", v=v, cost=cost, error="Sub name not allowed."), 400 diff --git a/files/templates/sidebar_rDrama.html b/files/templates/sidebar_rDrama.html index 15021506c..ca98d3549 100644 --- a/files/templates/sidebar_rDrama.html +++ b/files/templates/sidebar_rDrama.html @@ -18,9 +18,7 @@
{{sub.sidebar_html|safe}}
{% endif %} {% if v %} - {% if v.admin_level > 2 %} - CREATE HOLE - {% endif %} + CREATE HOLE {% if v.mods(sub.name) %} HOLE SETTINGS {% endif %} @@ -29,7 +27,7 @@ HOLE EXILEES HOLE BLOCKERS {% else %} - {% if v and v.admin_level > 2 %} + {% if v %} CREATE HOLE {% endif %} BROWSE HOLES diff --git a/files/templates/submission.html b/files/templates/submission.html index 9f3510bdb..2999f1239 100644 --- a/files/templates/submission.html +++ b/files/templates/submission.html @@ -95,7 +95,7 @@ {% endif %} {% if p.award_count("ricardo") %} - +