mirror of
https://github.com/discourse/discourse.git
synced 2024-11-24 19:34:09 +08:00
45bdd23689
FEATURE: support RTL in multisite
14 lines
436 B
Plaintext
14 lines
436 B
Plaintext
<%- if rtl? %>
|
|
<%= DiscourseStylesheets.stylesheet_link_tag(mobile_view? ? :mobile_rtl : :desktop_rtl) %>
|
|
<%- else %>
|
|
<%= DiscourseStylesheets.stylesheet_link_tag(mobile_view? ? :mobile : :desktop) %>
|
|
<%- end %>
|
|
|
|
<%- if staff? %>
|
|
<%= stylesheet_link_tag "admin"%>
|
|
<%- end %>
|
|
|
|
<%- unless customization_disabled? %>
|
|
<%= SiteCustomization.custom_stylesheet(session[:preview_style], mobile_view? ? :mobile : :desktop) %>
|
|
<%- end %>
|