Mod tools: move above list of subreddits in multis

This commit is contained in:
Chad Birch
2013-07-24 11:15:48 -06:00
committed by Max Goodman
parent 38ae79be7e
commit eb5fb72d63

View File

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