implementation for #1469

This commit is contained in:
r888888888
2014-03-07 15:55:49 -08:00
parent 5e3ec6a678
commit 08b9b2771f
4 changed files with 36 additions and 10 deletions

View File

@@ -24,7 +24,7 @@
<span class="sticky">Sticky:</span>
<% end %>
<% if topic.updated_at > (CurrentUser.last_forum_read_at || Time.now) %>
<% unless topic.read_by?(CurrentUser.user, @read_forum_topic_ids) %>
<span class="new">NEW</span>
<% end %>