Mercurial > libervia-templates
comparison sat_templates/templates/bulma/list/discover.html @ 308:3054387cac3b
bulma (list/discover): add delete button to all items but ones from config
author | Goffi <goffi@goffi.org> |
---|---|
date | Sat, 27 Feb 2021 20:52:19 +0100 |
parents | 877f01720036 |
children |
comparison
equal
deleted
inserted
replaced
307:605bce1df126 | 308:3054387cac3b |
---|---|
32 {% for list_data in lists_directory %} | 32 {% for list_data in lists_directory %} |
33 {{ block.icon_item( | 33 {{ block.icon_item( |
34 list_data.icon_name or "clipboard", | 34 list_data.icon_name or "clipboard", |
35 list_data.name, | 35 list_data.name, |
36 list_data.url, | 36 list_data.url, |
37 delete_icon=list_data.creator, | 37 delete_icon=not list_data.from_config, |
38 data=list_data) | 38 data=list_data) |
39 }} | 39 }} |
40 {% endfor %} | 40 {% endfor %} |
41 </div> | 41 </div> |
42 </div> | 42 </div> |