users: get rid of the .with-style class.
Replace with `body[data-current-user-style-usernames="true"]` instead.
This commit is contained in:
@@ -190,7 +190,6 @@ module ApplicationHelper
|
||||
user_class += " user-post-approver" if user.can_approve_posts?
|
||||
user_class += " user-post-uploader" if user.can_upload_free?
|
||||
user_class += " user-banned" if user.is_banned?
|
||||
user_class += " with-style" if CurrentUser.user.style_usernames?
|
||||
link_to(user.pretty_name, user_path(user), :class => user_class)
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user