From cdd7a2cffd8ca9ba8bba3a790c16ea3e7e4b16c9 Mon Sep 17 00:00:00 2001 From: Beverly Nguyen Date: Wed, 6 Dec 2023 13:19:30 -0800 Subject: [PATCH] removed item.ancestors --- app/templates/views/templates/_template_list.html | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) diff --git a/app/templates/views/templates/_template_list.html b/app/templates/views/templates/_template_list.html index 49a23a0ee..ee4450106 100644 --- a/app/templates/views/templates/_template_list.html +++ b/app/templates/views/templates/_template_list.html @@ -38,18 +38,12 @@ {% for item in template_list %} {% set item_link_content %} - {% for ancestor in item.ancestors %} - - {{- format_item_name(ancestor.name) -}} - - {% endfor %} {% if item.is_folder %} {{- format_item_name(item.name) -}} - {% else %} + {% elif not item.ancestors %} @@ -70,9 +64,11 @@ {% endset %} {% set item_meta %} + {% if not item.ancestors %} {{ item.hint }} + {% endif %} {% endset %} {# create the item config now to include the label content -#} @@ -112,4 +108,4 @@ }) }} {% endif %} -{% endif %} \ No newline at end of file +{% endif %}