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

[tor-commits] [lego/master] Remove dropdown-menu in footer



commit 7034965124f98c89b5896c12f752a9203dbc57a0
Author: Nicolei Ocana <nicoleiocana@xxxxxxxxx>
Date:   Wed May 6 15:21:58 2020 +0000

    Remove dropdown-menu in footer
---
 templates/footer.html | 16 +---------------
 1 file changed, 1 insertion(+), 15 deletions(-)

diff --git a/templates/footer.html b/templates/footer.html
index 01fd857..ac6ccdb 100644
--- a/templates/footer.html
+++ b/templates/footer.html
@@ -93,24 +93,10 @@
   
   <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">
+      <div class="col-8 mt-5">
         {% from "macros/footer.html" import render_faq %}
         <p class="text-primary text-light">{{ _('Trademark, copyright notices, and rules for use by third parties can be found in our %(link_to_faq)s')|format(link_to_faq=render_faq())|safe }}.</p>
       </div>
-      <div class="col-sm-2 mt-5 d-none d-sm-block">
-        <div class="btn-group dropdown float-right">
-      	  <button type="button" class="btn btn-primary dropdown-toggle" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
-            {{ bag('alternatives', this.alt, 'language') }}
-      	  </button>
-      	  <div class="dropdown-menu">
-            {% for id, item in bag('alternatives').items() %}
-              {% if this.alt != id %}
-    	          <a class="dropdown-item" href="{{ this.path|url(alt=id) }}">{{ item.language }}</a>
-              {% endif %}
-            {% endfor %}
-        	</div>
-        </div>
-      </div>
     </div>
   </div>
   <script src="{{ '/static/js/jquery-3.2.1.min.js'|asseturl }}" ></script>

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