category fix

This commit is contained in:
Harry Bomrah 2014-12-11 17:43:16 +08:00
parent e16813638e
commit 736db91cb5
1 changed files with 6 additions and 1 deletions

View File

@ -14,7 +14,12 @@
<% @archives.each do |archive| %>
<tr>
<td><%= archive.status_for_table %></td>
<td><%= archive.category.title %></td>
<td>
<%= archive.category.title rescue "" %>
<% if (archive.category.disable rescue false) %>
<span class='label'><%= t(:disabled) %></span>
<% end %>
</td>
<td>
<a href="#" target="_blank"><%= archive.title %></a>
<div class="quick-edit">