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:
@@ -19,7 +19,7 @@
|
||||
<%= link_to h(pool.pretty_name), pool_path(pool) %>
|
||||
</td>
|
||||
<td>
|
||||
<%= link_to h(pool.creator.name), user_path(pool.creator) %>
|
||||
<%= link_to h(pool.creator.name), user_path(pool.creator), { :class => pool.creator.level_class } %>
|
||||
</td>
|
||||
<td>
|
||||
<%= pool.post_count %>
|
||||
|
||||
Reference in New Issue
Block a user