mirror of
https://github.com/reddit-archive/reddit.git
synced 2026-04-27 03:00:12 -04:00
Remove gold-gate from sendreplies feature.
This commit is contained in:
@@ -435,7 +435,7 @@ class ApiController(RedditController):
|
||||
form.set_error(errors.QUOTA_FILLED, None)
|
||||
return
|
||||
|
||||
if not c.user.gold or not request.POST.get('sendreplies'):
|
||||
if not request.POST.get('sendreplies'):
|
||||
sendreplies = kind == 'self'
|
||||
|
||||
# get rid of extraneous whitespace in the title
|
||||
|
||||
@@ -116,17 +116,14 @@ ${thing.formtabs_menu}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
%if c.user.gold:
|
||||
<div class="spacer">
|
||||
<%utils:round_field title="${_('options')}" css_class="gold-accent">
|
||||
<input class="nomargin" type="checkbox" checked="checked" name="sendreplies" id="sendreplies" data-send-checked="true"/>
|
||||
<label for="sendreplies">
|
||||
${_("send replies to my inbox")}
|
||||
</label>
|
||||
 <span class="little gray">(${_("beta")})</span>
|
||||
</%utils:round_field>
|
||||
</div>
|
||||
%endif
|
||||
<div class="spacer">
|
||||
<%utils:round_field title="${_('options')}">
|
||||
<input class="nomargin" type="checkbox" checked="checked" name="sendreplies" id="sendreplies" data-send-checked="true"/>
|
||||
<label for="sendreplies">
|
||||
${_("send replies to my inbox")}
|
||||
</label>
|
||||
</%utils:round_field>
|
||||
</div>
|
||||
|
||||
${thing.captcha}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user