From fddf204a1b95e24e1290994e42cdf047c38fbcb6 Mon Sep 17 00:00:00 2001 From: miguel angel rasteu Date: Mon, 11 Sep 2023 15:18:25 +0200 Subject: [PATCH] #10676 Fix module text size --- pandora_console/operation/events/events.php | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/pandora_console/operation/events/events.php b/pandora_console/operation/events/events.php index becb9f430c..896893ba2f 100644 --- a/pandora_console/operation/events/events.php +++ b/pandora_console/operation/events/events.php @@ -526,6 +526,11 @@ if (is_ajax() === true) { $tmp->module_name = ui_print_truncate_text( $tmp->module_name, 'module_medium', + false, + true, + false, + '…', + true, true, ); } @@ -933,7 +938,8 @@ if (is_ajax() === true) { // Module name. $tmp->id_agentmodule = $tmp->module_name; - if (strlen($tmp->id_agentmodule) >= 10) { + /* + if (strlen($tmp->id_agentmodule) >= 10) { $tmp->id_agentmodule = ui_print_truncate_text( $tmp->id_agentmodule, 10, @@ -944,7 +950,7 @@ if (is_ajax() === true) { true, true, ); - } + }*/ // Options. // Show more.