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

hiro at torproject.org hiro at torproject.org
Wed Nov 27 15:09:34 UTC 2019


commit 1bc98ec68273dc4d4e3a0afd5f27a0e304b03ec6
Author: hiro <hiro at torproject.org>
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>



More information about the tor-commits mailing list