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

14 lines
388 B
Plaintext
Raw Normal View History

<%- unless SiteCustomization.override_default_style(session[:preview_style]) %>
2013-08-28 04:40:30 +08:00
<% if mobile_view? %>
<%= stylesheet_link_tag "mobile" %>
<% else %>
<%= stylesheet_link_tag "desktop" %>
2013-08-28 04:40:30 +08:00
<% end %>
<%- end %>
2013-02-11 19:41:23 +08:00
<%- if staff? %>
<%= stylesheet_link_tag "admin"%>
<%-end%>
2013-08-28 04:40:30 +08:00
<%= SiteCustomization.custom_stylesheet(session[:preview_style], mobile_view? ? :mobile : :desktop) %>