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

hiro at torproject.org hiro at torproject.org
Mon Nov 25 16:48:07 UTC 2019


commit cd3fc729d308b2bce913206b8ed0b95529f3e4c9
Author: hiro <hiro at torproject.org>
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 %}



More information about the tor-commits mailing list