commit cd3fc729d308b2bce913206b8ed0b95529f3e4c9 Author: hiro hiro@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/%7B%7B this.alt }}" title="{{ _("Donate") }}"><h4><span class="badge badge-warning p-2">{{ _("Donate Now") }}</span></h4></a> {% endif %}
tor-commits@lists.torproject.org