about summary refs log tree commit diff
path: root/app/views/layouts/mailer.html.haml
diff options
context:
space:
mode:
authorEugen Rochko <eugen@zeonfederated.com>2018-01-29 00:22:20 +0100
committerGitHub <noreply@github.com>2018-01-29 00:22:20 +0100
commit79bc3d58456a850a7f2d99a2c0e15ff1618c1a0e (patch)
tree5bec2a3bf54ff6e840884771b2e8a49db11d6380 /app/views/layouts/mailer.html.haml
parent106efba800a63d508aabdc661cb0551c2b82110c (diff)
Add direction tags to HTML e-mails for RTL languages (#6373)
Diffstat (limited to 'app/views/layouts/mailer.html.haml')
-rw-r--r--app/views/layouts/mailer.html.haml2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/layouts/mailer.html.haml b/app/views/layouts/mailer.html.haml
index 6687546fb..e401df10f 100644
--- a/app/views/layouts/mailer.html.haml
+++ b/app/views/layouts/mailer.html.haml
@@ -7,7 +7,7 @@
     %title/
 
     = stylesheet_pack_tag 'mailer'
-  %body
+  %body{ dir: locale_direction }
     %table.email-table{ cellspacing: 0, cellpadding: 0 }
       %tbody
         %tr