mirror of
https://github.com/reddit-archive/reddit.git
synced 2026-01-29 00:38:11 -05:00
Mod tools: move above list of subreddits in multis
This commit is contained in:
@@ -362,6 +362,10 @@ class Reddit(Templated):
|
||||
srs = Subreddit._byID(c.site.sr_ids, data=True,
|
||||
return_dict=False)
|
||||
|
||||
if (srs and c.user_is_loggedin and
|
||||
(c.user_is_admin or c.site.is_moderator(c.user))):
|
||||
ps.append(self.sr_admin_menu())
|
||||
|
||||
if isinstance(c.site, LabeledMulti):
|
||||
ps.append(MultiInfoBar(c.site, srs, c.user))
|
||||
c.js_preload.set_wrapped(
|
||||
@@ -373,10 +377,6 @@ class Reddit(Templated):
|
||||
box = SubscriptionBox(srs)
|
||||
ps.append(SideContentBox(_('these subreddits'), [box]))
|
||||
|
||||
if (srs and c.user_is_loggedin and
|
||||
(c.user_is_admin or c.site.is_moderator(c.user))):
|
||||
ps.append(self.sr_admin_menu())
|
||||
|
||||
|
||||
if isinstance(c.site, AllSR):
|
||||
ps.append(AllInfoBar(c.site, c.user))
|
||||
|
||||
Reference in New Issue
Block a user