[tor-commits] [tpo/staging] Update template for download page

emmapeel at torproject.org emmapeel at torproject.org
Sat Apr 6 18:25:10 UTC 2019


commit 67530d6632e294b96b2dd09ef359c662d8c9fdf1
Author: hiro <hiro at torproject.org>
Date:   Tue Mar 26 16:59:25 2019 +0100

    Update template for download page
---
 templates/macros/downloads.html | 4 ++--
 templates/navbar.html           | 2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/templates/macros/downloads.html b/templates/macros/downloads.html
index a080cf2..6bddbb0 100644
--- a/templates/macros/downloads.html
+++ b/templates/macros/downloads.html
@@ -8,7 +8,7 @@
   {% set sig_link_64 = download_link_64 + '.asc' %}
   {% set sig_link_32 = download_link_32 + '.asc' %}
 
-  <a class="downloadLink" href="{{ download_link_32 }}">32-bit</a> (<a href="{{ sig_link_32 }}">sig</a>) / <a href="{{ download_link_32 }}">64-bit</a> (<a href="{{ sig_link_64 }}">sig<a/>)
+  <a class="downloadLink" href="{{ download_link_32 }}">32-bit</a> (<a href="{{ sig_link_32 }}">sig</a>) / <a href="{{ download_link_64 }}">64-bit</a> (<a href="{{ sig_link_64 }}">sig<a/>)
 {% endmacro %}
 
 {% macro render_mac(version, alt) %}
@@ -32,7 +32,7 @@
   {% set sig_link_64 = download_link_64 + '.asc' %}
   {% set sig_link_32 = download_link_32 + '.asc' %}
 
-  <a class="downloadLink" href="{{ download_link_32 }}">32-bit</a> (<a href="{{ sig_link_32 }}">sig</a>) / <a href="{{ download_link_32 }}">64-bit</a> (<a href="{{ sig_link_64 }}">sig<a/>)
+  <a class="downloadLink" href="{{ download_link_32 }}">32-bit</a> (<a href="{{ sig_link_32 }}">sig</a>) / <a href="{{ download_link_64 }}">64-bit</a> (<a href="{{ sig_link_64 }}">sig<a/>)
 {% endmacro %}
 
 {% macro render_fdroid() %}
diff --git a/templates/navbar.html b/templates/navbar.html
index 9b708eb..6bc92c2 100644
--- a/templates/navbar.html
+++ b/templates/navbar.html
@@ -42,7 +42,7 @@
         {% else %}
           <button type="button" class="btn btn-dark bg-dark dropdown-toggle btn-block my-3 my-sm-0" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
         {% endif %}
-          {{ bag('alternatives', this.alt, 'language') }}
+        { bag('alternatives', this.alt, 'language') }}
         </button>
         <div class="dropdown-menu">
           {% for id, item in bag('alternatives').items() %}





More information about the tor-commits mailing list