Add an RTL stylesheet for Arabic i18n (#2378)
This commit is contained in:
@ -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
|
||||
|
Reference in New Issue
Block a user