add user classes on more pages

This commit is contained in:
Toks
2013-03-31 10:31:28 -04:00
parent faffb3f896
commit b025256480
10 changed files with 10 additions and 10 deletions

View File

@@ -72,7 +72,7 @@ module ApplicationHelper
def mod_link_to_user(user, positive_or_negative)
html = ""
html << link_to(user.name, user_path(user))
html << link_to(user.name, user_path(user), { :class => user.level_class })
if positive_or_negative == :positive
html << " [" + link_to("+", new_user_feedback_path(:user_feedback => {:category => "positive", :user_id => user.id})) + "]"