FIX: path wizard showing with no style

This commit is contained in:
Sam 2017-04-13 15:22:39 -04:00
parent 37d4dd4a4b
commit 3f4f0b32a9
4 changed files with 5 additions and 5 deletions

View File

@ -3,7 +3,7 @@
<head> <head>
<meta charset="utf-8"> <meta charset="utf-8">
<%= stylesheet_link_tag 'embed' %> <%= discourse_stylesheet_link_tag 'embed', theme_key: nil %>
<%- unless customization_disabled? %> <%- unless customization_disabled? %>
<%= Theme.custom_stylesheet(session[:preview_style], :embedded) %> <%= Theme.custom_stylesheet(session[:preview_style], :embedded) %>
<%- end %> <%- end %>

View File

@ -1,8 +1,8 @@
<html> <html>
<head> <head>
<%= stylesheet_link_tag 'wizard' %> <%= discourse_stylesheet_link_tag 'wizard', theme_key: nil %>
<%= render partial: "common/special_font_face" %> <%= render partial: "common/special_font_face" %>
<%= script 'jquery' %> <%= script 'ember_jquery' %>
<%= script 'wizard-vendor' %> <%= script 'wizard-vendor' %>
<%= render partial: "layouts/head" %> <%= render partial: "layouts/head" %>
<title><%= t 'wizard.title' %></title> <title><%= t 'wizard.title' %></title>

View File

@ -1,6 +1,6 @@
<html> <html>
<head> <head>
<%= discourse_stylesheet_link_tag 'wizard', theme_key: nil %> <%= discourse_stylesheet_link_tag :wizard, theme_key: nil %>
<%= script 'ember_jquery' %> <%= script 'ember_jquery' %>
<%= script 'wizard-vendor' %> <%= script 'wizard-vendor' %>
<%= script 'wizard-application' %> <%= script 'wizard-application' %>

View File

@ -4,7 +4,7 @@
<title>QUnit Test Runner</title> <title>QUnit Test Runner</title>
<%= stylesheet_link_tag "qunit" %> <%= stylesheet_link_tag "qunit" %>
<%= stylesheet_link_tag "test_helper" %> <%= stylesheet_link_tag "test_helper" %>
<%= stylesheet_link_tag "wizard" %> <%= discourse_stylesheet_link_tag :wizard %>
<%= javascript_include_tag "qunit" %> <%= javascript_include_tag "qunit" %>
<%= javascript_include_tag "wizard/test/test_helper" %> <%= javascript_include_tag "wizard/test/test_helper" %>
<%= csrf_meta_tags %> <%= csrf_meta_tags %>