- {% if ma.sub %}
-
/h/{{ma.sub}}
+ {% if ma.hole %}
+
/h/{{ma.hole}}
-
{% endif %}
@{{ma.user.username}}
diff --git a/files/templates/post_actions.html b/files/templates/post_actions.html
index 19cd98bc4..c2dfa06df 100644
--- a/files/templates/post_actions.html
+++ b/files/templates/post_actions.html
@@ -51,9 +51,9 @@
{% endif %}
- {% if p.sub and v.mods(p.sub) %}
-
-
+ {% if p.hole and v.mods(p.hole) %}
+
+
{% endif %}
{% if v.admin_level >= PERMS['POST_COMMENT_MODERATION'] %}
@@ -63,18 +63,18 @@
{% endif %}
- {% if v.id != p.author_id and p.sub %}
-
-
+ {% if v.id != p.author_id and p.hole %}
+
+
{% endif %}
- {% if p.sub and v.mods(p.sub) %}
+ {% if p.hole and v.mods(p.hole) %}
- {% if not p.author.mods(p.sub) %}
-
-
+ {% if not p.author.mods(p.hole) %}
+
+
{% endif %}
{% endif %}
- {% if FEATURES['NSFW_MARKING'] and (v.id==p.author_id or v.admin_level >= PERMS['POST_COMMENT_MODERATION'] or (p.sub and v.mods(p.sub))) %}
+ {% if FEATURES['NSFW_MARKING'] and (v.id==p.author_id or v.admin_level >= PERMS['POST_COMMENT_MODERATION'] or (p.hole and v.mods(p.hole))) %}
{% endif %}
diff --git a/files/templates/post_actions_mobile.html b/files/templates/post_actions_mobile.html
index b228c30fd..fff2ffcf0 100644
--- a/files/templates/post_actions_mobile.html
+++ b/files/templates/post_actions_mobile.html
@@ -31,9 +31,9 @@
{% endif %}
-{% if p.sub and v.mods(p.sub) %}
-
-
+{% if p.hole and v.mods(p.hole) %}
+
+
{% endif %}
{% if v.id==p.author_id %}
@@ -44,22 +44,22 @@
{% endif %}
- {% if p.sub %}
-
-
+ {% if p.hole %}
+
+
{% endif %}
{% endif %}
-{% if FEATURES['NSFW_MARKING'] and (v.id==p.author_id or (p.sub and v.mods(p.sub))) %}
+{% if FEATURES['NSFW_MARKING'] and (v.id==p.author_id or (p.hole and v.mods(p.hole))) %}
{% endif %}
-{% if p.sub and v.mods(p.sub) %}
+{% if p.hole and v.mods(p.hole) %}
- {% if not p.author.mods(p.sub) %}
-
-
+ {% if not p.author.mods(p.hole) %}
+
+
{% endif %}
{% endif %}
diff --git a/files/templates/post_listing.html b/files/templates/post_listing.html
index 69d3de415..1d3a40aa2 100644
--- a/files/templates/post_listing.html
+++ b/files/templates/post_listing.html
@@ -96,7 +96,7 @@
{{macros.post_meta(p)}}
diff --git a/files/templates/sidebar_rDrama.html b/files/templates/sidebar_rDrama.html
index 98e3bbbb5..2a60740a8 100644
--- a/files/templates/sidebar_rDrama.html
+++ b/files/templates/sidebar_rDrama.html
@@ -6,8 +6,8 @@
- {% if sub %}
- {% set image = sub.sidebar_url %}
+ {% if hole %}
+ {% set image = hole.sidebar_url %}
{% elif IS_EVENT() %}
{% set image = macros.random_image("assets/events/" ~ IS_EVENT() ~ "/images/sidebar") %}
{% else %}
@@ -15,13 +15,13 @@
{% endif %}
{% if request.path != '/sidebar' %}
- {% if not sub and (IS_FISTMAS() or IS_HOMOWEEN()) %}
+ {% if not hole and (IS_FISTMAS() or IS_HOMOWEEN()) %}
{% include "events/shared/eye_tracking.html" %}
{% elif v and (v.is_banned or v.chud) %}
- {% elif not (sub and sub.name == 'chudrama' and v and not v.can_see_chudrama) %}
+ {% elif not (hole and hole.name == 'chudrama' and v and not v.can_see_chudrama) %}
@@ -47,8 +47,8 @@
{% endif %}
- {% if sub and sub.sidebar_html %}
-