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

@@ -17,7 +17,7 @@
<td><%= PostPresenter.preview(post_flag.post, :tags => "status:any") %></td>
<% if CurrentUser.user.is_janitor? %>
<td>
<%= link_to post_flag.creator.name, user_path(post_flag.creator) %>
<%= link_to post_flag.creator.name, user_path(post_flag.creator), { :class => post_flag.creator.level_class } %>
</td>
<% end %>
<td><%= format_text post_flag.reason %></td>