reverts old behavior of forum topic highlighting

This commit is contained in:
albert
2011-10-27 19:03:07 -04:00
parent c9cb34beaf
commit 3871188bde
3 changed files with 6 additions and 36 deletions

View File

@@ -13,7 +13,7 @@
</thead>
<tbody>
<% @forum_topics.each do |topic| %>
<tr>
<tr class="forum-topic-row <% if topic.updated_at > (CurrentUser.last_forum_read_at || Time.now) %>new-topic<% end %>">
<td>
<% if topic.is_sticky? %>
<span class="sticky">Sticky:</span>
@@ -43,10 +43,6 @@
<%= render "secondary_links" %>
<%= content_for(:html_header) do %>
<meta name="last-forum-read-at" content="<%= CurrentUser.last_forum_read_at.to_date %>">
<% end %>
<% content_for(:page_title) do %>
Forum - <%= Danbooru.config.app_name %>
<% end %>