mirror of
https://github.com/reddit-archive/reddit.git
synced 2026-01-23 22:08:11 -05:00
Add multireddit for /r/mod.
This commit is contained in:
@@ -311,8 +311,11 @@ class Reddit(Templated):
|
||||
ps.append(self.sr_admin_menu())
|
||||
|
||||
if srs:
|
||||
ps.append(SideContentBox(_('these subreddits'),
|
||||
[SubscriptionBox(srs)]))
|
||||
if isinstance(c.site, ModSR):
|
||||
box = SubscriptionBox(srs, multi_text=strings.mod_multi)
|
||||
else:
|
||||
box = SubscriptionBox(srs)
|
||||
ps.append(SideContentBox(_('these subreddits'), [box]))
|
||||
|
||||
# don't show the subreddit info bar on cnames unless the option is set
|
||||
if not isinstance(c.site, FakeSubreddit) and (not c.cname or c.site.show_cname_sidebar):
|
||||
|
||||
@@ -182,6 +182,7 @@ Note: there are a couple of places outside of your subreddit where someone can c
|
||||
an_error_occurred_friendly = _("an error occurred. please try again later!"),
|
||||
rate_limit = _("please wait a few seconds and try again."),
|
||||
subscribed_multi = _("multireddit of your subscriptions"),
|
||||
mod_multi = _("multireddit of subreddits you moderate"),
|
||||
)
|
||||
|
||||
class StringHandler(object):
|
||||
|
||||
Reference in New Issue
Block a user