Remove gold-gate from sendreplies feature.

This commit is contained in:
Jason Harvey
2013-05-19 14:47:13 -07:00
parent 868e37bfb0
commit 5f462279a1
2 changed files with 9 additions and 12 deletions

View File

@@ -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

View File

@@ -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>
&#32;<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}