From 47cab1313e50a10cda50aa0cd0bcf9df513b1b53 Mon Sep 17 00:00:00 2001 From: Neil Williams Date: Fri, 16 Aug 2013 00:10:00 -0700 Subject: [PATCH] Make CommentButtons's show_distinguish respect employee flag. --- r2/r2/lib/pages/things.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/r2/r2/lib/pages/things.py b/r2/r2/lib/pages/things.py index 5efdfd2b8..5cf585dbb 100644 --- a/r2/r2/lib/pages/things.py +++ b/r2/r2/lib/pages/things.py @@ -162,7 +162,10 @@ class CommentButtons(PrintableButtons): and thing.subreddit.allow_comment_gilding ) - show_distinguish = is_author and (thing.can_ban or c.user_special_distinguish) + show_distinguish = (is_author and + (thing.can_ban or # Moderator distinguish + c.user.employee or # Admin distinguish + c.user_special_distinguish)) PrintableButtons.__init__(self, "commentbuttons", thing, is_author = is_author,