dmails: allow marking dmails as unread.
* Add ability to mark dmails as unread. * Fix users.unread_dmail_count to not count deleted dmails. * Fix show action so that API calls don't mark dmails as read. * Don't show the unread dmail notice on the /dmails page itself. * Stop using users.has_mail flag.
This commit is contained in:
@@ -127,7 +127,7 @@
|
||||
<li><%= link_to "Change name", new_user_name_change_request_path %></li>
|
||||
<% end %>
|
||||
<li><%= link_to "Delete account", maintenance_user_deletion_path %></li>
|
||||
<li><%= link_to "Dmails", dmails_path %></li>
|
||||
<li><%= link_to "Dmails", dmails_path(search: { folder: "received" }) %></li>
|
||||
<li><%= link_to "Favorites", favorites_path %></li>
|
||||
<li><%= link_to "Favorite groups", favorite_groups_path %></li>
|
||||
<li><%= link_to "Saved searches", saved_searches_path %></li>
|
||||
|
||||
Reference in New Issue
Block a user