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

@@ -9,7 +9,7 @@
<tbody>
<% @dashboard.mod_actions.each do |mod_action| %>
<tr>
<td><%= link_to mod_action.creator.name, user_path(mod_action.creator) %></td>
<td><%= link_to mod_action.creator.name, user_path(mod_action.creator), { :class => mod_action.creator.level_class } %></td>
<td><%= format_text(mod_action.description) %></td>
</tr>
<% end %>

View File

@@ -10,7 +10,7 @@
<tbody>
<% @dashboard.user_feedbacks.each do |record| %>
<tr class="feedback-category-<%= record.category %>">
<td><%= link_to(record.user.name, user_path(record.user)) %></td>
<td><%= link_to(record.user.name, user_path(record.user), { :class => record.user.level_class }) %></td>
<td><%= format_text(record.body) %></td>
<td><%= time_ago_in_words_tagged(record.created_at) %></td>
</tr>

View File

@@ -4,7 +4,7 @@
<ul>
<% @users.each do |user| %>
<li><%= link_to user.name, user_path(user) %></li>
<li><%= link_to user.name, user_path(user), { :class => user.level_class } %></li>
<% end %>
</ul>