discourse/app/views/common/_discourse_stylesheet.html.erb

13 lines
437 B
Text
Raw Normal View History

2013-02-25 11:42:20 -05:00
<%- unless SiteCustomization.override_default_style(session[:preview_style]) %>
2013-02-11 06:41:23 -05:00
<%=stylesheet_link_tag "application"%>
<%- end %>
<%- if mini_profiler_enabled? %>
<%- Rack::MiniProfiler.step "stylsheet" do%>
2013-02-25 11:42:20 -05:00
<%= stylesheet_link_tag "admin"%>
2013-02-11 06:41:23 -05:00
<%-end%>
<%- elsif admin? %>
<%= stylesheet_link_tag "admin"%>
<%-end%>
2013-02-25 11:42:20 -05:00
<%=SiteCustomization.custom_stylesheet(session[:preview_style])%>