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

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



commit 5fcd29f27025d7651559d746875214494c11744f
Author: hiro <hiro@xxxxxxxxxxxxxx>
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 43306c2d..7d0efbe3 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 e142ecb0..8628627f 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>



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