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

[tor-commits] [tpo/staging] Add donate block in /download



commit cf013b58b16d264afb7bc439d98dd5a8c2517ae7
Author: Antonela <hola@xxxxxxxxxxx>
Date:   Fri Apr 26 16:03:33 2019 -0300

    Add donate block in /download
---
 templates/download.html         | 11 +++++++----
 templates/macros/downloads.html |  2 +-
 2 files changed, 8 insertions(+), 5 deletions(-)

diff --git a/templates/download.html b/templates/download.html
index 0e4befb..7408621 100644
--- a/templates/download.html
+++ b/templates/download.html
@@ -46,10 +46,13 @@
 <div class="container justify-content-center mt-4">
   <div class="row justify-content-center">
     <i class="display-5 text-primary pr-3 fas fa-signature-png"></i><p class="text-primary text-tpo">
-      <a class="mx-auto pl-2" href="{{ 'https://support.torproject.org/' + this.alt + '/tbb/how-to-verify-signature/' }}" target="_blank"><u>{{ _('Verify Tor Browser signature') }}</u></a></p>
-
+    <a class="mx-auto pl-2" href="{{ 'https://support.torproject.org/' + this.alt + '/tbb/how-to-verify-signature/' }}" target="_blank"><u>{{ _('Verify Tor Browser signature') }}</u></a></p>
   </div>
 </div>
-<div class="container">
-  <div class="row border-bottom border-light"><p></p></div>
+<div class="container bg-primary mt-5">
+  <div class="col-md-8 mx-auto text-center p-5">
+    <h2 class="display-4 text-white">{{ _('Stand up for privacy and freedom online.') }}</h2>
+    <p class="text-white">{{ _('Weâ??re a nonprofit organization and rely on supporters like you to help us keep Tor robust and secure for millions of people worldwide.') }}</p>
+    <a class="btn btn-lg btn-warning" href="https://donate.torproject.org";>{{ _('Donate Now') }}</a>
+  </div>
 </div>
diff --git a/templates/macros/downloads.html b/templates/macros/downloads.html
index 71056cf..d743245 100644
--- a/templates/macros/downloads.html
+++ b/templates/macros/downloads.html
@@ -58,5 +58,5 @@
 {% endmacro %}
 
 {% macro render_tor_browser_manual() %}
-<a class="mx-auto" href="https://tb-manual.torproject.org"; target="_blank"><u>{{ _('tor browser manual') }}</u></a>
+<a class="mx-auto" href="https://tb-manual.torproject.org"; target="_blank"><u>{{ _('Tor Browser manual') }}</u></a>
 {% endmacro %}



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