Remove limit on /r/all- and add info to gold page

This commit is contained in:
Chad Birch
2013-04-03 13:50:33 -06:00
parent cb99c8ca19
commit 256f724328
2 changed files with 2 additions and 4 deletions

View File

@@ -1042,9 +1042,7 @@ class AllMinus(AllSR):
from r2.lib.db.operators import not_
q = AllSR.get_links(self, sort, time)
if c.user.gold:
excluded_ids = self.random_reddits(c.user.name, self.sr_ids,
self.gold_limit)
q._filter(not_(Link.c.sr_id.in_(excluded_ids)))
q._filter(not_(Link.c.sr_id.in_(self.sr_ids)))
return q
class _DefaultSR(FakeSubreddit):

View File

@@ -58,7 +58,7 @@
${feature_item(static('gold/sample-filterall.png'),
_(
"# Filter specific subreddits from /r/all.\n"
"Are there subreddits you don't want to see? Customize /r/all by removing them."
"Are there subreddits you don't want to see? Customize /r/all by removing them with a url like /r/all-operative-badger (up to ~300 removals - limited by maximum url length)."
), 'new')}
${feature_item(static('gold/sample-morecomments.png'),
_(