[tor-commits] [tpo/master] Update navbar

hiro at torproject.org hiro at torproject.org
Wed Dec 12 22:30:45 UTC 2018


commit 02aaae1564c3155b8a07d7030e1a7100c0f09638
Author: hiro <hiro at torproject.org>
Date:   Wed Dec 5 18:56:25 2018 +0100

    Update navbar
---
 i18n/contents.pot     | 2 +-
 templates/navbar.html | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/i18n/contents.pot b/i18n/contents.pot
index f814a1f..02b4153 100644
--- a/i18n/contents.pot
+++ b/i18n/contents.pot
@@ -2,7 +2,7 @@ msgid ""
 msgstr ""
 "Project-Id-Version: PACKAGE VERSION\n"
 "Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2018-12-05 18:52+CET\n"
+"POT-Creation-Date: 2018-12-05 18:56+CET\n"
 "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
 "Last-Translator: FULL NAME <EMAIL at ADDRESS>\n"
 "Language-Team: en <LL at li.org>\n"
diff --git a/templates/navbar.html b/templates/navbar.html
index 3bff81e..cae5d57 100644
--- a/templates/navbar.html
+++ b/templates/navbar.html
@@ -16,7 +16,7 @@
         	{% set menubag = 'menu+' + this.alt %}
         	{% for id, item in bag(menubag).items() %}
         	<li{% if this.is_child_of(item.path) %} class="nav-item active" {% else %} class="nav-item"{% endif %}>
-            <a class="nav-link" href="{{ item.path }}">{{ item.label }}
+            <a class="nav-link" href="{{ item.path|url }}">{{ item.label }}
               {% if this.is_child_of(item.path) %}
               <span class="sr-only">(current)</span>
               {% endif %}





More information about the tor-commits mailing list