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:
@@ -27,7 +27,7 @@
|
||||
<td><%= artist_version_other_names_diff(artist_version) %></td>
|
||||
<td><%= artist_version.group_name %></td>
|
||||
<td><%= compact_time artist_version.created_at %></td>
|
||||
<td><%= link_to artist_version.updater_name, user_path(artist_version.updater_id) %></td>
|
||||
<td><%= link_to artist_version.updater_name, user_path(artist_version.updater_id), { :class => artist_version.updater.level_class } %></td>
|
||||
<td><%= artist_version.is_active? %></td>
|
||||
<td>
|
||||
<ul>
|
||||
|
||||
Reference in New Issue
Block a user