diff options
| author | Étienne Loks <etienne.loks@iggdrasil.net> | 2025-12-01 15:38:11 +0100 |
|---|---|---|
| committer | Étienne Loks <etienne.loks@iggdrasil.net> | 2025-12-01 18:13:42 +0100 |
| commit | bc1e5abd91aeeb9be6c318d8d9c59602ce7df26e (patch) | |
| tree | 715bb9464ed8072329ceb174bde662568714f84e /ishtar_common/models.py | |
| parent | 9de45f70dbe6821e10ecb90f0407d8f25e2745a5 (diff) | |
| download | Ishtar-bc1e5abd91aeeb9be6c318d8d9c59602ce7df26e.tar.bz2 Ishtar-bc1e5abd91aeeb9be6c318d8d9c59602ce7df26e.zip | |
🐛 use > instead of / for some hierarchical items (refs #6513)
- container localisations
- geographic area
- documents types
- inline help for hierarchical types
Diffstat (limited to 'ishtar_common/models.py')
| -rw-r--r-- | ishtar_common/models.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ishtar_common/models.py b/ishtar_common/models.py index 86be555ca..7daee912b 100644 --- a/ishtar_common/models.py +++ b/ishtar_common/models.py @@ -2654,7 +2654,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 @@ -5504,7 +5504,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() |
