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

[tor-commits] [lego/develop] Fix template



commit cd3fc729d308b2bce913206b8ed0b95529f3e4c9
Author: hiro <hiro@xxxxxxxxxxxxxx>
Date:   Mon Nov 25 17:48:02 2019 +0100

    Fix template
---
 templates/navbar.html | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/templates/navbar.html b/templates/navbar.html
index e8800d9..24185b4 100644
--- a/templates/navbar.html
+++ b/templates/navbar.html
@@ -16,7 +16,7 @@
 
     {% set link = bag('links', this.alt, 'donate') %}
     {% if link %}
-      <a href="link" title="{{ _("Donate") }}"><h4><span class="badge badge-warning p-2">{{ _("Donate Now") }}</span></h4></a>
+      <a href="{{ link }}" title="{{ _("Donate") }}"><h4><span class="badge badge-warning p-2">{{ _("Donate Now") }}</span></h4></a>
     {% else %}
       <a href="https://www.torproject.org/donate/{{ this.alt }}" title="{{ _("Donate") }}"><h4><span class="badge badge-warning p-2">{{ _("Donate Now") }}</span></h4></a>
     {% endif %}



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