changeset 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 605bce1df126
children 27511c821481
files sat_templates/templates/bulma/list/discover.html
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/sat_templates/templates/bulma/list/discover.html	Sat Feb 27 20:51:32 2021 +0100
+++ b/sat_templates/templates/bulma/list/discover.html	Sat Feb 27 20:52:19 2021 +0100
@@ -34,7 +34,7 @@
                            list_data.icon_name or "clipboard",
                            list_data.name,
                            list_data.url,
-                           delete_icon=list_data.creator,
+                           delete_icon=not list_data.from_config,
                            data=list_data)
                     }}
                 {% endfor %}