commit 07eaef9800b90b8de1c490dedc95928d3b789cbf Author: hiro hiro@torproject.org Date: Mon Nov 11 16:00:19 2019 +0100
Update donate button --- templates/footer.html | 2 +- templates/navbar.html | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/templates/footer.html b/templates/footer.html index 555faed..d1681b7 100644 --- a/templates/footer.html +++ b/templates/footer.html @@ -46,7 +46,7 @@ </li> {% endfor %} </ul> - <a href="https://donate.torproject.org" title="{{ _("Donate") }}"><h5><span class="badge badge-warning p-2 mt-2">{{ _("Donate Now") }}</span></h5></a> + <a href="https://www.torproject.org/donate/%7B%7B this.alt }}" title="{{ _("Donate") }}"><h5><span class="badge badge-warning p-2 mt-2">{{ _("Donate Now") }}</span></h5></a> </div> </div> <div class="col-12 d-flex justify-content-center border"> diff --git a/templates/navbar.html b/templates/navbar.html index a699835..64b5695 100644 --- a/templates/navbar.html +++ b/templates/navbar.html @@ -14,7 +14,7 @@ <span class="sr-only">Tor Logo</span> </a>
- <a href="https://donate.torproject.org/" title="{{ _("Donate") }}"><h4><span class="badge badge-warning p-2">{{ _("Donate Now") }}</span></h4></a> + <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>
<label for="nav-toggle"> <a class="btn btn-lg btn-primary navbar-toggler text-white p-3" data-toggle="collapse" data-target="#navbarSupportedContent" aria-controls="navbarSupportedContent" aria-expanded="false" aria-label="Toggle navigation">
tor-commits@lists.torproject.org