[tor-commits] [tpo/master] Change databag and download template

hiro at torproject.org hiro at torproject.org
Thu Feb 20 13:29:05 UTC 2020


commit 5fcd29f27025d7651559d746875214494c11744f
Author: hiro <hiro at torproject.org>
Date:   Tue Dec 10 13:14:22 2019 +0100

    Change databag and download template
---
 databags/platforms.ini       | 4 ++--
 templates/hero-download.html | 2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/databags/platforms.ini b/databags/platforms.ini
index 43306c2..7d0efbe 100644
--- a/databags/platforms.ini
+++ b/databags/platforms.ini
@@ -1,10 +1,10 @@
 [windows]
 path = windows
-label = Microsoft Windows
+label = Windows
 
 [apple]
 path = osx
-label = Apple OS X
+label = OS X
 
 [linux]
 path = linux
diff --git a/templates/hero-download.html b/templates/hero-download.html
index e142ecb..8628627 100644
--- a/templates/hero-download.html
+++ b/templates/hero-download.html
@@ -29,7 +29,7 @@
         <a class="downloadLink" href="{{ download_link }}">
           <i class="text-light fab fa-{{ id }}-png"></i>
         </a>
-        <a class="btn btn-primary mt-4" href="{{ download_link }}">{{ _('Download for') }} {{ id }}</a>
+        <a class="btn btn-primary mt-4" href="{{ download_link }}">{{ _('Download for') }} {{ item.label }}</a>
         <a class="link" href="{{ sig_link }}"><span class="nick text-white">{{ _('Signature') }}</span></a>
       </div>
     </div>



More information about the tor-commits mailing list