* Remove .ui-corner-all, .ui-state-highlight, .ui-state-error classes from notice boxes. * Use .notice, .notice-info, .notice-error classes instead. * Replace <p> elements in notices with <div>'s so that we don't have to work around the `margin-bottom: 1em` from <p> elements. * Replace <h1> elements in notices with <h2>. * Standardize info notices to use the same shade of light yellow in the light theme.
5 lines
336 B
Plaintext
5 lines
336 B
Plaintext
<div class="notice notice-info notice-large" id="dmail-notice" data-id="<%= CurrentUser.dmails.unread.first.id %>">
|
|
<h2>You have <%= link_to "unread mail", dmails_path(search: {owner_id: CurrentUser.id, to_id: CurrentUser.id}, folder: "received") %>.</h2>
|
|
<div><%= link_to "Close this", "#", id: "hide-dmail-notice" %></div>
|
|
</div>
|