fix donor usernames

This commit is contained in:
jomo
2014-06-18 01:18:20 +02:00
parent 5f1841e129
commit d12910fcd6

View File

@@ -1,4 +1,4 @@
<div class="user"> <div class="user">
<%= link_to user.name, user_path(user.id), class: "role #{user.role.name} #{"banned" if user.banned?} #{"disabled" if user.disabled?}", title: user.ign %> <%= link_to user.name, user_path(user.id), class: "role #{user.role.name} #{"banned" if user.banned?} #{"disabled" if user.disabled?}", title: user.ign %>
<% link_to_if "$", donate_statics_path, class: "donor", title: "Donator" if user.donor? %> <% link_to "$", donate_statics_path, class: "donor", title: "Donator" if user.donor? %>
</div> </div>