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

[tor-commits] [donate-static/master] Add savage button



commit c776f63ed20a5e87c8f15d6d3c504b99ddb257be
Author: hiro <hiro@xxxxxxxxxxxxxx>
Date:   Tue Oct 20 16:34:47 2020 +0200

    Add savage button
---
 configs/i18n.ini      | 2 +-
 templates/footer.html | 7 +++++--
 2 files changed, 6 insertions(+), 3 deletions(-)

diff --git a/configs/i18n.ini b/configs/i18n.ini
index b77e4192..968635ae 100644
--- a/configs/i18n.ini
+++ b/configs/i18n.ini
@@ -1,5 +1,5 @@
 content = en
-translations = 
+translations = en
 i18npath = i18n
 translate_paragraphwise = False
 url_prefix = https://www.torproject.org/
diff --git a/templates/footer.html b/templates/footer.html
index 99a22f63..979eb83c 100644
--- a/templates/footer.html
+++ b/templates/footer.html
@@ -62,7 +62,7 @@
       </div>
     </div>
   </div>
-  
+
   <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">
@@ -84,7 +84,7 @@
       </div>
     </div>
   </div>
-  
+
   <div class="row">
     <div class="col-12 d-flex justify-content-center">
       <div class="col-8 mt-5">
@@ -114,5 +114,8 @@
   <script src="{{ '/static/js/modernizr.js'|asseturl }}" ></script>
   <script src="{{ '/static/js/download.js'|asseturl }}" ></script>
   <script src="{{ '/static/js/fallback.js'|asseturl }}" ></script>
+  <script>
+    $(".payment-option").append("<button class=\"credit-card payment-method selected button\"><a class=\"button\" href=\"/cryptocurrency\">Cryptocurrency</a></button>")
+  </script>
   </div>
 </div>



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