Project

General

Profile

« Previous | Next » 

Revision d0665c24

Added by Amir Fefer almost 6 years ago

Fixes #23920 - add missing header in welcome pages

View differences:

app/views/layouts/_application_content.html.erb
<div id="main">
<div id="content">
<%= notifications %>
<% unless @welcome %>
<div id="breadcrumb">
<% unless @page_header.blank? %>
<div class="row form-group">
<h1 class="col-md-8">
<%=h @page_header %>
</h1>
</div>
<% end %>
<% if content_for?(:breadcrumbs) %>
<%= yield(:breadcrumbs) %>
<% else %>
<%= mount_breadcrumbs %>
<% end %>
<%= notifications %>
<div id="breadcrumb">
<% unless @page_header.blank? %>
<div class="row form-group">
<h1 class="col-md-8">
<%=h @page_header %>
</h1>
</div>
<% end %>
<% end %>
<% if content_for?(:breadcrumbs) %>
<%= yield(:breadcrumbs) %>
<% else %>
<%= mount_breadcrumbs %>
<% end %>
</div>
<div class="row">
<div class="title_filter <%= searchable? ? " col-md-6 " : "col-md-4 " %>">
<%= render "common/searchbar" if searchable? %>

Also available in: Unified diff