From 446e89b725960ef1f7cf5c6e591de561c8434ba9 Mon Sep 17 00:00:00 2001 From: Étienne Loks Date: Wed, 20 Mar 2024 12:32:51 +0100 Subject: 🩹 Sheet: prevent overflow of file name on other fields (refs #5835) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ishtar_common/templates/ishtar/blocks/window_field_flex_file.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'ishtar_common') diff --git a/ishtar_common/templates/ishtar/blocks/window_field_flex_file.html b/ishtar_common/templates/ishtar/blocks/window_field_flex_file.html index 0a79176d6..83271facb 100644 --- a/ishtar_common/templates/ishtar/blocks/window_field_flex_file.html +++ b/ishtar_common/templates/ishtar/blocks/window_field_flex_file.html @@ -2,8 +2,8 @@
{% trans caption %}
- - {% if link_name %}{{link_name}}{% else %}{{link}}{% endif %} + + {% if link_name %}{{link_name|truncatechars:18}}{% else %}{{link|truncatechars:18}}{% endif %}
-- cgit v1.2.3