Mercurial > libervia-templates
comparison 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 |
comparison
equal
deleted
inserted
replaced
289:f1a39607d6a5 | 290:1743fd741fed |
---|---|
15 </div> | 15 </div> |
16 <div id="main_menu" class="navbar-menu"> | 16 <div id="main_menu" class="navbar-menu"> |
17 <div class="navbar-start"> | 17 <div class="navbar-start"> |
18 {% for name, url in menus %} | 18 {% for name, url in menus %} |
19 <a class="navbar-item" {{ {'href': url}|xmlattr }}> | 19 <a class="navbar-item" {{ {'href': url}|xmlattr }}> |
20 {{name}} | 20 {{ml.label[name] or name}} |
21 </a> | 21 </a> |
22 {% endfor %} | 22 {% endfor %} |
23 </div> | 23 </div> |
24 <div class="navbar-end"> | 24 <div class="navbar-end"> |
25 <div class="navbar-item has-dropdown is-hoverable"> | 25 <div class="navbar-item has-dropdown is-hoverable"> |