[tor-commits] [lego/master] remove download block in /download pages

antonela at torproject.org antonela at torproject.org
Mon Feb 24 12:08:02 UTC 2020


commit 2251bba40bedc3224d9c0be383075167b32b4bb9
Author: Antonela <hola at antonela.me>
Date:   Mon Feb 24 09:07:57 2020 -0300

    remove download block in /download pages
---
 templates/footer.html | 11 +++++++++--
 1 file changed, 9 insertions(+), 2 deletions(-)

diff --git a/templates/footer.html b/templates/footer.html
index 7a84b12..0bc2814 100644
--- a/templates/footer.html
+++ b/templates/footer.html
@@ -2,8 +2,11 @@
   {% include 'download-android.html' %}
 {% endif %}
 {% set locale = bag('alternatives', this.alt) %}
-<div class="container-fluid bg-dark footer onion-bg {{ locale.order }} {{ locale.direction }}">
-  <div class="row">
+<div class="container-fluid bg-dark footer {{ locale.order }} {{ locale.direction }}">
+
+  {% if this.path != '/download' %}
+
+  <div class="row onion-bg">
     <div class="col-12 d-flex justify-content-right">
       <div class="container pt-5 justify-content-right">
         <div class="offset-lx-2 offset-sm-4 mt-5">
@@ -22,6 +25,10 @@
       </div>
     </div>
   </div>
+
+  {% endif %}
+
+
   <div class="row">
     <div class="col-12 d-flex justify-content-center">
       <div class="col-sm-6 offset-lx-1 offset-sm-0 mt-5">



More information about the tor-commits mailing list