Add an RTL stylesheet for Arabic i18n (#2378)
This commit is contained in:
parent
b073b092c9
commit
e59f5c8e13
4 changed files with 136 additions and 1 deletions
|
@ -8,4 +8,9 @@ module ApplicationHelper
|
|||
def show_landing_strip?
|
||||
!user_signed_in? && !single_user_mode?
|
||||
end
|
||||
|
||||
def add_rtl_body_class(other_classes)
|
||||
other_classes = "#{other_classes} rtl" if [:ar].include?(I18n.locale)
|
||||
other_classes
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue