FIX: footer was missing in some pages

- error pages
- search results pages
- list of all tags
- topics list of a specific tag
- user leaderboard
This commit is contained in:
Régis Hanol
2015-08-05 16:14:26 +02:00
parent d1994cad27
commit 35e6e5ff67
11 changed files with 120 additions and 89 deletions

View File

@@ -16,7 +16,7 @@
</head>
<body>
<%- unless customization_disabled? %>
<%= SiteCustomization.custom_header(session[:preview_style]) %>
<%= SiteCustomization.custom_header(session[:preview_style], mobile_view? ? :mobile : :desktop) %>
<%- end %>
<header>
<a href="<%= path "/" %>"><img src="<%=SiteSetting.logo_url%>" alt="<%=SiteSetting.title%>" id="site-logo"></a>

View File

@@ -16,7 +16,7 @@
</head>
<body>
<%- unless customization_disabled? %>
<%= SiteCustomization.custom_header(session[:preview_style]) %>
<%= SiteCustomization.custom_header(session[:preview_style], mobile_view? ? :mobile : :desktop) %>
<%- end %>
<section id='main'>
<%= render partial: 'header' %>
@@ -24,5 +24,8 @@
<%= yield %>
</div>
</section>
<%- unless customization_disabled? %>
<%= SiteCustomization.custom_footer(session[:preview_style], mobile_view? ? :mobile : :desktop) %>
<%- end %>
</body>
</html>