Change pool category class location

In order to make blacklisting by category easier.
This commit is contained in:
Toks
2013-07-27 11:46:35 -04:00
parent 942ba4ac09
commit e3ca0b26a7
3 changed files with 7 additions and 7 deletions

View File

@@ -11,12 +11,12 @@
</thead>
<tbody>
<% @pools.each do |pool| %>
<%= content_tag(:tr, :id => "pool-#{pool.id}") do %>
<%= content_tag(:tr, :id => "pool-#{pool.id}", :class => "pool-category-#{pool.category}") do %>
<td>
</td>
<td>
<%= link_to pool.pretty_name, pool_path(pool), :class => "pool-category-#{pool.category}" %>
<%= link_to pool.pretty_name, pool_path(pool) %>
<% if pool.post_count > CurrentUser.user.per_page %>
<%= link_to "page #{pool.last_page}", pool_path(pool, :page => pool.last_page), :class => "last-page" %>