diff options
author | jomo <github@jomo.tv> | 2015-04-24 00:05:52 +0200 |
---|---|---|
committer | jomo <github@jomo.tv> | 2015-04-24 00:05:52 +0200 |
commit | eb00bc2f956251c5189ccf4b2e7b809526d7461f (patch) | |
tree | d5c2e1815c657c471c349cd6b5bc0c6d60fa6e94 | |
parent | b37308e2b1fbe32a01cb2d1035baf6ea723d6f2a (diff) |
show role on user hover
-rw-r--r-- | app/views/users/_username.html.erb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/users/_username.html.erb b/app/views/users/_username.html.erb index 474c3a0..10adb36 100644 --- a/app/views/users/_username.html.erb +++ b/app/views/users/_username.html.erb @@ -1,4 +1,4 @@ <div class="user"> - <%= link_to user.name, user, class: "role #{user.role.name} #{"banned" if user.banned?} #{"disabled" if user.disabled?} #{"unconfirmed" unless user.confirmed?}", title: user.ign, style: "color: #{fcolor(user.role.color)}; background-color: #{user.role.color}" %> + <%= link_to user.name, user, class: "role #{user.role.name} #{"banned" if user.banned?} #{"disabled" if user.disabled?} #{"unconfirmed" unless user.confirmed?}", title: "#{user.ign} – #{user.role}", style: "color: #{fcolor(user.role.color)}; background-color: #{user.role.color}" %> <%= link_to "$", donate_statics_path, class: "role donor", title: "Donator" if user.donor? %> </div>
\ No newline at end of file |