This commit is contained in:
Toks
2013-05-17 13:19:14 -04:00
parent d07219e092
commit 2b427273b2
3 changed files with 11 additions and 2 deletions

View File

@@ -48,7 +48,7 @@
<%= render "users/ban_notice" %>
<% end %>
<% if CurrentUser.dmail_count.present? %>
<% if CurrentUser.dmail_count.present? && CurrentUser.dmails.unread.present? && cookies[:hide_dmail_notice].to_i != CurrentUser.dmails.unread.first.id %>
<%= render "users/dmail_notice" %>
<% end %>