diff --git a/files/routes/subs.py b/files/routes/subs.py index f9b179a2b6..5aeaeecfaa 100644 --- a/files/routes/subs.py +++ b/files/routes/subs.py @@ -220,19 +220,19 @@ def remove_mod(v, sub): return redirect(f'/h/{sub}/mods') -@app.get("/create_sub") -@is_not_permabanned -def create_sub(v): - if SITE_NAME == 'rDrama' and v.admin_level < 3: abort(403) +# @app.get("/create_sub") +# @is_not_permabanned +# def create_sub(v): +# if SITE_NAME == 'rDrama' and v.admin_level < 3: abort(403) - if request.host == 'rdrama.net': cost = 0 - else: - num = v.subs_created + 1 - for a in v.alts: - num += a.subs_created - cost = num * 100 +# if request.host == 'rdrama.net': cost = 0 +# else: +# num = v.subs_created + 1 +# for a in v.alts: +# num += a.subs_created +# cost = num * 100 - return render_template("sub/create_sub.html", v=v, cost=cost) +# return render_template("sub/create_sub.html", v=v, cost=cost) @app.post("/create_sub") diff --git a/files/templates/sidebar_Cringetopia.html b/files/templates/sidebar_Cringetopia.html index 7276f0c25b..877f8d72f4 100644 --- a/files/templates/sidebar_Cringetopia.html +++ b/files/templates/sidebar_Cringetopia.html @@ -13,7 +13,7 @@
{{sub.sidebar_html|safe}}
{% endif %} {% if v %} - CREATE HOLE + CREATE HOLE (temporarily disabled for 24 hours) {% if v.mods(sub.name) %} HOLE SETTINGS {% endif %} @@ -22,7 +22,7 @@ HOLE EXILEES HOLE BLOCKERS {% else %} - CREATE HOLE + CREATE HOLE (temporarily disabled for 24 hours) BROWSE HOLES
diff --git a/files/templates/submission_listing.html b/files/templates/submission_listing.html index 38e5c8ab02..24c637c846 100644 --- a/files/templates/submission_listing.html +++ b/files/templates/submission_listing.html @@ -81,32 +81,26 @@ {% if not postembed %}
{% if v and request.path.startswith('/@') and v.admin_level < 2 %} - - {% if voted==1 %} -
- {% endif %} +
{{score}} - {% if voted==-1 %} -
- {% endif %} - +
{% elif v %} -
+
- {{score}} + {{score}} -
+
{% else %} -
+
- {{score}} + {{score}} -
+
{% endif %} @@ -257,45 +251,36 @@ {% endif %} {% if not postembed %} {% if v and request.path.startswith('/@') and v.admin_level < 2 %} -
  • +
  • - {% if voted==1 %} - - - {% endif %} + - {{score}} + {{score}} - {% if voted==-1 %} - - {% endif %} - - -
  • + + {% elif v %} -
  • +
  • - - + - {{score}} + {{score}} - - + -
  • + {% else %} -
  • - - - +
  • + + + - {{score}} + {{score}} - - - -
  • + + + + {% endif %} {% endif %}