%= discourse_color_scheme_stylesheets %> <%- if @has_test_bundle && !@suggested_themes %> <%= preload_script "vendor" %> <%= preload_script "test-support" %> <%= preload_script "discourse" %> <%= preload_script "test" %> <%= preload_script "locales/#{I18n.locale}" %> <%= preload_script "admin" %> <%- Discourse.find_plugin_js_assets(include_disabled: true).each do |file| %> <%= preload_script file %> <%- end %> <%= preload_script "test-site-settings" %> <%= theme_translations_lookup %> <%= theme_js_lookup %> <%= theme_lookup("head_tag") %> <%= theme_tests %> <%= tag.meta id: 'data-discourse-setup', data: client_side_setup_data %> <%= discourse_stylesheet_link_tag(:desktop, theme_id: nil) %> <%= discourse_stylesheet_link_tag("qunit-custom", theme_id: nil) %> <%- else %> <%- end %> <%- if params['testem'] %> <%- end %>
<%- if !@has_test_bundle %> This is a production installation of Discourse, and cannot be used for theme testing. For more information, see this guide. <% elsif @suggested_themes %>Cannot find any theme tests.
<%- else %>