File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -24,7 +24,6 @@ def index
2424 # GET /workflows/1.json
2525 def show
2626 authorize @workflow
27- @skip_flash_messages_in_header = true # we will handle flash messages in the 'workflows' layout
2827 respond_to do |format |
2928 format . html { render layout : 'workflows' }
3029 format . json
Original file line number Diff line number Diff line change 9393 </ div >
9494 <% end %>
9595
96- <% if !defined? @skip_flash_messages_in_header or !@skip_flash_messages_in_header %>
97- < div id ="flash-container " class ="container-fluid ">
98- <%= flash_messages %>
99- </ div >
100- <% end %>
96+ < div id ="flash-container " class ="container-fluid ">
97+ <%= flash_messages %>
98+ </ div >
10199</ header >
102100
103101<%= render ( partial : 'layouts/cookie_banner' ) if cookie_consent . show_banner? %>
Original file line number Diff line number Diff line change 33
44<%= render 'layouts/head' %>
55
6- < body >
6+ < body class = <%= 'sticky-navbar-enabled' if TeSS :: Config . feature [ 'sticky_navbar' ] %> <%= 'header-notice-present' if TeSS :: Config . header_notice &. strip . present? %> >
77
88<%= render :partial => "layouts/header" %>
99
10- < div id ="flash-container " class ="workflows-container " style ="margin-top: 5px ">
11- <%= flash_messages %>
12- </ div >
13-
1410< div id ="main-container " class ="workflows-container ">
1511 <%= render 'common/breadcrumbs' if @breadcrumbs %>
1612
You can’t perform that action at this time.
0 commit comments