mirror of
https://github.com/discourse/discourse.git
synced 2024-11-29 20:24:05 -06:00
0b7ed8ffaf
* FEATURE: backend support for user-selectable components * fix problems with previewing default theme * rename preview_key => preview_theme_id * omit default theme from child themes dropdown and try a different fix * cache & freeze stylesheets arrays
14 lines
397 B
Plaintext
14 lines
397 B
Plaintext
<%- if rtl? %>
|
|
<%= discourse_stylesheet_link_tag(mobile_view? ? :mobile_rtl : :desktop_rtl) %>
|
|
<%- else %>
|
|
<%= discourse_stylesheet_link_tag(mobile_view? ? :mobile : :desktop) %>
|
|
<%- end %>
|
|
|
|
<%- if staff? %>
|
|
<%= discourse_stylesheet_link_tag(:admin) %>
|
|
<%- end %>
|
|
|
|
<%- if theme_ids.present? %>
|
|
<%= discourse_stylesheet_link_tag(mobile_view? ? :mobile_theme : :desktop_theme) %>
|
|
<%- end %>
|