[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[tor-commits] [community/staging] support for rtl languages



commit 8ace0d336388a3b1d4df1c8d10e0e963c1495a35
Author: emma peel <emma.peel@xxxxxxxxxx>
Date:   Wed Mar 20 10:44:43 2019 +0100

    support for rtl languages
---
 templates/layout.html | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/templates/layout.html b/templates/layout.html
index bdc039b..9f0507f 100644
--- a/templates/layout.html
+++ b/templates/layout.html
@@ -1,4 +1,5 @@
 <!doctype html>
+<html xmlns="http://www.w3.org/1999/xhtml"; {% if bag('alternatives', this.alt, 'direction') == 'text-right' %}dir="rtl"{% endif %}>
 <meta charset="utf-8">
 <meta name="viewport" content="width=device-width, initial-scale=1">
 <link rel="stylesheet" href="{{ '/static/bootstrap.css'|asseturl }}">
@@ -27,3 +28,4 @@
     {% include 'footer.html' %}
   </footer>
 </body>
+</html>



_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits