adds support for user level-dependent classes
all links to users should have their class attribute set to that user's level_class
This commit is contained in:
@@ -29,7 +29,7 @@
|
||||
<%= note_version.updater_ip_addr %>
|
||||
</td>
|
||||
<% end %>
|
||||
<td><%= link_to note_version.updater.try(:name), user_path(note_version.updater) %></td>
|
||||
<td><%= link_to note_version.updater.try(:name), user_path(note_version.updater), { :class => note_version.updater.level_class } %></td>
|
||||
<td><%= compact_time note_version.updated_at %></td>
|
||||
<td>
|
||||
<% if CurrentUser.is_member? %>
|
||||
|
||||
Reference in New Issue
Block a user