1
0
Fork 0

Add head and body tags to wizard html

Dieser Commit ist enthalten in:
Angus McLeod 2018-06-14 10:00:50 +10:00
Ursprung bdc699d43f
Commit 4830766649

Datei anzeigen

@ -20,6 +20,10 @@
<script src="<%= Discourse.base_uri %>/extra-locales/wizard"></script> <script src="<%= Discourse.base_uri %>/extra-locales/wizard"></script>
<%= csrf_meta_tags %> <%= csrf_meta_tags %>
<%- unless customization_disabled? %>
<%= raw theme_lookup("head_tag") %>
<%- end %>
<%= server_plugin_outlet "custom_wizard" %> <%= server_plugin_outlet "custom_wizard" %>
<meta name="discourse_theme_key" content="<%= theme_key %>"> <meta name="discourse_theme_key" content="<%= theme_key %>">
@ -32,6 +36,10 @@
<body class='custom-wizard'> <body class='custom-wizard'>
<div id='custom-wizard-main'></div> <div id='custom-wizard-main'></div>
<%- unless customization_disabled? %>
<%= raw theme_lookup("body_tag") %>
<%- end %>
<script> <script>
(function() { (function() {
var wizard = require('discourse/plugins/discourse-custom-wizard/wizard/custom-wizard').default.create(); var wizard = require('discourse/plugins/discourse-custom-wizard/wizard/custom-wizard').default.create();