Display supervoter pref in API and CSS (#2641)

This commit is contained in:
Type-kun
2016-08-27 16:11:48 +05:00
parent 7b7a8cf423
commit 92b5e5e00d
2 changed files with 2 additions and 1 deletions

View File

@@ -94,6 +94,7 @@ module ApplicationHelper
user_class = user.level_class
user_class = user_class + " user-post-approver" if user.can_approve_posts?
user_class = user_class + " user-post-uploader" if user.can_upload_free?
user_class = user_class + " user-super-voter" if user.is_super_voter?
user_class = user_class + " with-style" if CurrentUser.user.style_usernames?
if options[:raw_name]
name = user.name