Project

General

Profile

« Previous | Next » 

Revision 12714bec

Added by Gilad Lekner about 5 years ago

Fixes #26609 - TopbarSweeper caching empty div

View differences:

app/views/layouts/base.html.erb
<%= _('You are using an unsupported browser.') %>
<![endif]-->
<% if User.current %>
<% cache(TopbarSweeper.fragment_name, :skip_digest => true) do %>
<div id="layout"></div>
<% end %>
<div id="layout"></div>
<div class="container-fluid container-pf-nav-pf-vertical nav-pf-persistent-secondary">
<%# mounting layout after the container to change its width if the navbar is collapsed %>
<%= mount_layout %>
<% cache(TopbarSweeper.fragment_name, :skip_digest => true) do %>
<%= mount_layout %>
<% end %>
<%= yield(:content) %>
</div>
<% else %>

Also available in: Unified diff