discourse/app/views/common/_discourse_stylesheet.html.erb
2013-09-13 14:54:57 -04:00

15 lines
391 B
Text

<%- unless SiteCustomization.override_default_style(session[:preview_style]) %>
<% if mobile_view? %>
<%= stylesheet_link_tag "mobile" %>
<% else %>
<%= stylesheet_link_tag "desktop" %>
<% end %>
<%- end %>
<%- if staff? %>
<%= stylesheet_link_tag "admin"%>
<%-end%>
<% unless mobile_view? %>
<%= SiteCustomization.custom_stylesheet(session[:preview_style]) %>
<% end %>