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

[tor-commits] [lego/master] Update banner elements order



commit 1bc98ec68273dc4d4e3a0afd5f27a0e304b03ec6
Author: hiro <hiro@xxxxxxxxxxxxxx>
Date:   Wed Nov 27 16:09:30 2019 +0100

    Update banner elements order
---
 templates/banner.html | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/templates/banner.html b/templates/banner.html
index f801f3f..7c14b6c 100644
--- a/templates/banner.html
+++ b/templates/banner.html
@@ -11,7 +11,11 @@
           <h4 class="tracking-surveillan">{{ _('Tracking, surveillance, and censorship are widespread online.') }}</h4>
         </div>
         <div class="row">
-          <div class="col-6 order-0">
+          {% if locale.direction == 'text-right' %}
+            <div class="col-6 order-1">
+          {% else %}
+            <div class="col-6 order-0">
+          {% endif %}
             <h2 class="take-back-the-intern display-3 py-3">
               {{ _('TAKE BACK THE INTERNET WITH TOR') }}
             </h2>

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