mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2025-11-17 22:42:22 +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} %>
|
||||
<% end %>
|
||||
|
||||
<% unless user_signed_in? %>
|
||||
<%= render partial: 'shared/flash_alerts',
|
||||
<%= render partial: 'shared/flash_alerts',
|
||||
locals: { flash: flash, notice: notice, alert: alert } %>
|
||||
<% end %>
|
||||
|
||||
<%= render "shared/left_menu_bar" if user_signed_in? %>
|
||||
|
||||
|
|
|
|||
|
|
@ -1,7 +1,5 @@
|
|||
<% content_for :content do %>
|
||||
<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 %>">
|
||||
<%= yield :sidebar %>
|
||||
<div id="sidebar-arrow"
|
||||
|
|
|
|||
|
|
@ -1,9 +1,5 @@
|
|||
<% content_for :content do %>
|
||||
<div class="container <%= yield :container_class %>">
|
||||
<% if user_signed_in? %>
|
||||
<%= render partial: 'shared/flash_alerts',
|
||||
locals: { flash: flash, notice: notice, alert: alert } %>
|
||||
<% end %>
|
||||
<%= yield %>
|
||||
</div>
|
||||
<% end %>
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue