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

13 lines
437 B
Plaintext
Raw Normal View History

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