Skip to content
Browse files

Use 'message the admins' in appropriate subreddit

  • Loading branch information...
1 parent b1ae35f commit e61de2b22f083c1b20927677235e5c00e6facf66 @Deimos Deimos committed Mar 15, 2013
Showing with 6 additions and 1 deletion.
  1. +6 −1 r2/r2/lib/pages/pages.py
View
7 r2/r2/lib/pages/pages.py
@@ -410,8 +410,13 @@ def rightbox(self):
if total > len(moderators):
more_text = "...and %d more" % (total - len(moderators))
mod_href = "http://%s/about/moderators" % get_domain()
+
+ if '/r/%s' % c.site.name == g.admin_message_acct:
+ label = _('message the admins')
+ else:
+ label = _('message the moderators')
helplink = ("/message/compose?to=%%2Fr%%2F%s" % c.site.name,
- "message the moderators")
+ label)
ps.append(SideContentBox(_('moderators'), moderators,
helplink = helplink,
more_href = mod_href,

0 comments on commit e61de2b

Please sign in to comment.
Something went wrong with that request. Please try again.