[tor-commits] [lego/master] Address issues with ltr languages

hiro at torproject.org hiro at torproject.org
Mon Nov 25 17:23:03 UTC 2019


commit 0f356acb712bc95dbb272922fb459367dc3032f9
Author: hiro <hiro at torproject.org>
Date:   Mon Nov 25 18:22:57 2019 +0100

    Address issues with ltr languages
---
 templates/navbar.html | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/templates/navbar.html b/templates/navbar.html
index 24185b4..88f7c5c 100644
--- a/templates/navbar.html
+++ b/templates/navbar.html
@@ -16,9 +16,9 @@
 
     {% 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>
+      <h4 class="p-2"><a href="{{ link }}" title="{{ _("Donate") }}"><span class="badge badge-warning p-2">{{ _("Donate Now") }}</span></a></h4>
     {% 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>
+      <h4 class="p-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 %}
 
     <label for="nav-toggle">



More information about the tor-commits mailing list