partial fix for #1363 (notice cannot be closed)
This commit is contained in:
@@ -48,6 +48,10 @@
|
||||
<%= render "users/ban_notice" %>
|
||||
<% end %>
|
||||
|
||||
<% if CurrentUser.dmail_count.present? %>
|
||||
<%= render "users/dmail_notice" %>
|
||||
<% end %>
|
||||
|
||||
<% if cookies["accepted_tos"].blank? && !CurrentUser.is_privileged? %>
|
||||
<%= render "users/tos" %>
|
||||
<% end %>
|
||||
|
||||
3
app/views/users/_dmail_notice.html.erb
Normal file
3
app/views/users/_dmail_notice.html.erb
Normal file
@@ -0,0 +1,3 @@
|
||||
<div class="ui-corner-all ui-state-highlight" id="dmail-notice">
|
||||
<h1>You have <%= link_to "unread mail", dmails_path(:search => {:owner_id => CurrentUser.id, :to_id => CurrentUser.id}, :folder => "received") %>.</h1>
|
||||
</div>
|
||||
Reference in New Issue
Block a user