[tor-commits] [lego/master] Add locale direction to footer

hiro at torproject.org hiro at torproject.org
Wed Nov 27 12:55:56 UTC 2019


commit d7f04b5060ece7de0ad4cf9f3081515dccbf215d
Author: hiro <hiro at torproject.org>
Date:   Wed Nov 27 13:47:17 2019 +0100

    Add locale direction to footer
---
 templates/footer.html | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/templates/footer.html b/templates/footer.html
index f068b2f..6204c9f 100644
--- a/templates/footer.html
+++ b/templates/footer.html
@@ -1,7 +1,8 @@
 {% if this.path == '/download' %}
   {% include 'download-android.html' %}
 {% endif %}
-<div class="container-fluid bg-dark footer onion-bg">
+{% set locale = bag('alternatives', this.alt) %}
+<div class="container-fluid bg-dark footer onion-bg {{ locale.order }} {{ locale.direction }}">
   <div class="row">
     <div class="col-12 d-flex justify-content-right">
       <div class="container pt-5 justify-content-right">





More information about the tor-commits mailing list