diff --git a/r2/r2/lib/pages/pages.py b/r2/r2/lib/pages/pages.py index d879fef87..3ebfff551 100644 --- a/r2/r2/lib/pages/pages.py +++ b/r2/r2/lib/pages/pages.py @@ -804,6 +804,15 @@ class SubredditInfoBar(CachedTemplate): CachedTemplate.__init__(self) + @property + def creator_text(self): + if self.sr.author: + if self.sr.is_moderator(self.sr.author) or self.sr.author._deleted: + return WrappedUser(self.sr.author).render() + else: + return self.sr.author.name + return None + def nav(self): buttons = [NavButton(plurals.moderators, 'moderators')] if self.type != 'public': diff --git a/r2/r2/templates/subredditinfobar.html b/r2/r2/templates/subredditinfobar.html index 6cff99275..d8d05dbeb 100644 --- a/r2/r2/templates/subredditinfobar.html +++ b/r2/r2/templates/subredditinfobar.html @@ -71,7 +71,7 @@