style pool and wiki page titles by their category
fixes #1690 and #1521
This commit is contained in:
@@ -21,7 +21,7 @@
|
||||
<tbody>
|
||||
<% @pool_versions.each do |pool_version| %>
|
||||
<tr>
|
||||
<td><%= link_to pool_version.pretty_name, pool_path(pool_version.pool_id) %></td>
|
||||
<td><%= link_to pool_version.pretty_name, pool_path(pool_version.pool_id), :class => "pool-category-#{pool_version.pool.category}" %></td>
|
||||
<td><%= link_to pool_version.post_id_array.size, pool_versions_path(:search => {:pool_id => pool_version.pool_id}) %></td>
|
||||
<td><%= pool_version_diff(pool_version) %></td>
|
||||
<td><%= link_to_user pool_version.updater%></td>
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
<div id="a-show">
|
||||
<h1>
|
||||
Pool:
|
||||
<%= @pool.pretty_name %>
|
||||
<%= link_to @pool.pretty_name, pool_path(@pool), :class => "pool-category-#{@pool.category}" %>
|
||||
<% if @pool.is_deleted? %>
|
||||
<span class="inactive">(deleted)</span>
|
||||
<% end %>
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
<section id="content">
|
||||
<h1 id="wiki-page-title">
|
||||
|
||||
<%= @wiki_page.pretty_title %>
|
||||
<%= link_to @wiki_page.pretty_title, wiki_page_path(@wiki_page), :class => "tag-type-#{@wiki_page.tag.category}" %>
|
||||
|
||||
<% if @wiki_page.is_locked? %>
|
||||
(locked)
|
||||
|
||||
Reference in New Issue
Block a user