diff sat_templates/templates/bulma/components/common.html @ 290:1743fd741fed

bulma (components/common): use `menu_labels.html` to translate menus
author Goffi <goffi@goffi.org>
date Mon, 28 Sep 2020 17:26:15 +0200
parents a18374320194
children 6411615771b6
line wrap: on
line diff
--- a/sat_templates/templates/bulma/components/common.html	Mon Sep 28 17:25:26 2020 +0200
+++ b/sat_templates/templates/bulma/components/common.html	Mon Sep 28 17:26:15 2020 +0200
@@ -17,7 +17,7 @@
             <div class="navbar-start">
             {% for name, url in menus %}
                   <a class="navbar-item" {{ {'href': url}|xmlattr }}>
-                    {{name}}
+                    {{ml.label[name] or name}}
                   </a>
             {% endfor %}
             </div>