From 45421bf385ba8219a470e84abbf64151010a2044 Mon Sep 17 00:00:00 2001 From: Étienne Loks Date: Mon, 1 Dec 2025 15:38:11 +0100 Subject: 🐛 use > instead of / for some hierarchical items (refs #6513) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - container localisations - geographic area - documents types - inline help for hierarchical types --- ishtar_common/models.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'ishtar_common/models.py') diff --git a/ishtar_common/models.py b/ishtar_common/models.py index 00c17db14..2be69ff69 100644 --- a/ishtar_common/models.py +++ b/ishtar_common/models.py @@ -2634,7 +2634,7 @@ class Area(HierarchicalType, DocumentItem, MainItem): label = [str(self)] if self.parent and self.parent.pk != self.pk: label.append(self.parent.full_label) - return " / ".join(label) + return " > ".join(label) def _get_base_image_path(self): return self.SLUG @@ -5484,7 +5484,7 @@ class Document( while source_type: source_types.append(str(source_type)) source_type = source_type.parent - return " / ".join(reversed(source_types)) + return " > ".join(reversed(source_types)) def public_representation(self): site = Site.objects.get_current() -- cgit v1.2.3