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

[tor-commits] [lego/master] donate button points to the donate.torproject.org right locale



commit 54d5eb63e4c1853fd44f25de69f1091d4670e72b
Author: Antonela <hola@xxxxxxxxxxx>
Date:   Thu Sep 5 17:07:29 2019 -0400

    donate button points to the donate.torproject.org right locale
    
    close https://dip.torproject.org/web/tpo/issues/14
---
 templates/navbar.html | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/templates/navbar.html b/templates/navbar.html
index 7600885..287e178 100644
--- a/templates/navbar.html
+++ b/templates/navbar.html
@@ -12,7 +12,9 @@
       <img alt="{{ 'The Tor Project' }}" src="{{ '/static/images/tor-logo@xxxxxx'|asseturl }}" >
       <span class="sr-only">Tor Logo</span>
     </a>
-    <a href="https://donate.torproject.org"; title="{{ _("Donate") }}"><h4><span class="badge badge-warning p-2">{{ _("Donate Now") }}</span></h4></a>
+   
+    <a href="https://donate.torproject.org/{{ '/'|url(alt=this.alt) }}" title="{{ _("Donate") }}"><h4><span class="badge badge-warning p-2">{{ _("Donate Now") }}</span></h4></a>
+
     <label for="nav-toggle">
       <a class="btn btn-lg btn-primary navbar-toggler text-white p-3" data-toggle="collapse" data-target="#navbarSupportedContent" aria-controls="navbarSupportedContent" aria-expanded="false" aria-label="Toggle navigation">
         {{ _("Menu") }} <span class="navbar-toggler-icon ml-1"></span>

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