
commit dd1e1ff689b5af8924e35af2da14dbaec4366089 Author: Antonela <hola@antonela.me> Date: Fri Feb 21 13:23:36 2020 -0300 Donate button is back --- templates/navbar-min.html | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/templates/navbar-min.html b/templates/navbar-min.html index f9d2bc77..3eb4ba16 100644 --- a/templates/navbar-min.html +++ b/templates/navbar-min.html @@ -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>