Commit dd1e1ff6 authored by Antonela's avatar Antonela
Browse files

Donate button is back

parent 7e9da94f
......@@ -14,6 +14,13 @@
<span class="sr-only">Tor Logo</span>
</a>
{% set link = bag('links', this.alt, 'donate') %}
{% if link %}
<h4 class="pl-2 pr-2"><a href="{{ link }}" title="{{ _("Donate") }}"><span class="badge badge-warning p-2">{{ _("Donate Now") }}</span></a></h4>
{% else %}
<h4 class="pl-2 pr-2"><a href="https://www.torproject.org/donate/{{ this.alt }}" title="{{ _("Donate") }}"><span class="badge badge-warning p-2">{{ _("Donate Now") }}</span></a></h4>
{% endif %}
</div>
</nav>
</div>
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment