mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2025-12-10 06:06:24 +08:00
Clean notifications partial from layouts
This commit is contained in:
parent
0381fef05b
commit
bdf4394d5f
3 changed files with 1 additions and 9 deletions
|
|
@ -57,10 +57,8 @@
|
||||||
<%= render partial: "/system_notifications/system_notification_modal", locals: { notification: nil} %>
|
<%= render partial: "/system_notifications/system_notification_modal", locals: { notification: nil} %>
|
||||||
<% end %>
|
<% end %>
|
||||||
|
|
||||||
<% unless user_signed_in? %>
|
<%= render partial: 'shared/flash_alerts',
|
||||||
<%= render partial: 'shared/flash_alerts',
|
|
||||||
locals: { flash: flash, notice: notice, alert: alert } %>
|
locals: { flash: flash, notice: notice, alert: alert } %>
|
||||||
<% end %>
|
|
||||||
|
|
||||||
<%= render "shared/left_menu_bar" if user_signed_in? %>
|
<%= render "shared/left_menu_bar" if user_signed_in? %>
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,7 +1,5 @@
|
||||||
<% content_for :content do %>
|
<% content_for :content do %>
|
||||||
<div class="container-fluid" id="wrapper">
|
<div class="container-fluid" id="wrapper">
|
||||||
<%= render partial: 'shared/flash_alerts',
|
|
||||||
locals: { flash: flash, notice: notice, alert: alert } %>
|
|
||||||
<div id="sidebar-wrapper" class="<%= yield :sidebar_wrapper_class %>">
|
<div id="sidebar-wrapper" class="<%= yield :sidebar_wrapper_class %>">
|
||||||
<%= yield :sidebar %>
|
<%= yield :sidebar %>
|
||||||
<div id="sidebar-arrow"
|
<div id="sidebar-arrow"
|
||||||
|
|
|
||||||
|
|
@ -1,9 +1,5 @@
|
||||||
<% content_for :content do %>
|
<% content_for :content do %>
|
||||||
<div class="container <%= yield :container_class %>">
|
<div class="container <%= yield :container_class %>">
|
||||||
<% if user_signed_in? %>
|
|
||||||
<%= render partial: 'shared/flash_alerts',
|
|
||||||
locals: { flash: flash, notice: notice, alert: alert } %>
|
|
||||||
<% end %>
|
|
||||||
<%= yield %>
|
<%= yield %>
|
||||||
</div>
|
</div>
|
||||||
<% end %>
|
<% end %>
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue