* 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.
16 lines
726 B
Plaintext
16 lines
726 B
Plaintext
<% if (position == "bottom" && CurrentUser.user.new_post_navigation_layout) || (position == "top" && !CurrentUser.user.new_post_navigation_layout) %>
|
|
<div id="nav-links" class="notice post-notice post-notice-search">
|
|
<% if post.presenter.has_sequential_navigation?(params) %>
|
|
<%= render "posts/partials/show/search_seq", :post => post %>
|
|
<% end %>
|
|
|
|
<% if post.pools.undeleted.present? %>
|
|
<%= render "posts/partials/show/pool_list", post: post, pools: post.pools.undeleted.selected_first(params[:pool_id]) %>
|
|
<% end %>
|
|
|
|
<% if post.favorite_groups(active_id=params[:favgroup_id]).any? %>
|
|
<%= render "posts/partials/show/favorite_groups", :post => post %>
|
|
<% end %>
|
|
</div>
|
|
<% end %>
|