mirror of
https://github.com/codeninjasllc/discourse.git
synced 2024-12-01 03:17:53 -05:00
15 lines
439 B
Text
15 lines
439 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 customization_disabled? %>
|
|
<%= SiteCustomization.custom_stylesheet(session[:preview_style], mobile_view? ? :mobile : :desktop) %>
|
|
<%- end %>
|