forked from MarseyWorld/MarseyWorld
clarify CC function in WPD and PCM
parent
e5b2675f0d
commit
768a2eda24
|
@ -305,7 +305,7 @@ class User(Base):
|
|||
def paid_dues(self):
|
||||
if not FEATURES['COUNTRY_CLUB']:
|
||||
return True
|
||||
return not self.shadowbanned and not (self.is_banned and not self.unban_utc) and (self.admin_level or self.club_allowed or (self.club_allowed != False and self.truecoins > dues))
|
||||
return not self.shadowbanned and not (self.is_banned and not self.unban_utc) and (self.admin_level or self.club_allowed or (self.club_allowed != False and self.truecoins >= dues))
|
||||
|
||||
@lazy
|
||||
def any_block_exists(self, other):
|
||||
|
|
|
@ -58,4 +58,4 @@ def inject_constants():
|
|||
"LOTTERY_ENABLED":LOTTERY_ENABLED, "GUMROAD_LINK":GUMROAD_LINK,
|
||||
"DEFAULT_THEME":DEFAULT_THEME, "DESCRIPTION":DESCRIPTION,
|
||||
"has_sidebar":has_sidebar, "has_logo":has_logo, "has_app":has_app,
|
||||
"FP": FP, "NOTIF_MODACTION_JL_MIN": NOTIF_MODACTION_JL_MIN, "cache": cache, "ONLINE_STR": ONLINE_STR, "patron": patron, "approved_embed_hosts": approved_embed_hosts}
|
||||
"FP":FP, "NOTIF_MODACTION_JL_MIN":NOTIF_MODACTION_JL_MIN, "cache":cache, "ONLINE_STR":ONLINE_STR, "patron":patron, "approved_embed_hosts":approved_embed_hosts, "dues":dues}
|
||||
|
|
|
@ -181,7 +181,7 @@
|
|||
{% if FEATURES['COUNTRY_CLUB'] -%}
|
||||
<div class="custom-control custom-checkbox">
|
||||
<input autocomplete="off" type="checkbox" class="custom-control-input" id="post-club" name="club" onchange="savetext()">
|
||||
<label class="custom-control-label" for="post-club">{{CC_TITLE}} thread</label>
|
||||
<label class="custom-control-label" for="post-club">{{CC_TITLE}} thread {% if dues <= 0 %}(Hides threads from logged-out users){% endif %}</label>
|
||||
</div>
|
||||
{%- endif %}
|
||||
|
||||
|
|
Loading…
Reference in New Issue