From caf3138871b7cba6d76a83d4d7ae5123fddf1b8e Mon Sep 17 00:00:00 2001 From: Étienne Loks Date: Thu, 20 Mar 2025 14:31:50 +0100 Subject: 🩹 sheet - geo: limit display of values MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- archaeological_operations/templates/ishtar/sheet_operation.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'archaeological_operations') diff --git a/archaeological_operations/templates/ishtar/sheet_operation.html b/archaeological_operations/templates/ishtar/sheet_operation.html index 4d078a998..ef9c9632a 100644 --- a/archaeological_operations/templates/ishtar/sheet_operation.html +++ b/archaeological_operations/templates/ishtar/sheet_operation.html @@ -151,9 +151,9 @@ {% if next or item.cached_towns_label %} {% trans "Towns" %} {% if next %} - {{ item|m2m_listing:'towns'|join:" ; "|default:'' }} + {{ item|m2m_listing:'towns'|join:" ; "|default:''|limit_label }} {% else %} - {{ item.cached_towns_label }} + {{ item.cached_towns_label|limit_label }} {% endif %} {% endif %} -- cgit v1.2.3