#12566 fixed colums module_custom_id and event_custom_id length_

This commit is contained in:
Daniel Cebrian 2023-12-13 19:53:14 +01:00
parent 1a9bdf97d1
commit fed0d92805
2 changed files with 48 additions and 1 deletions

View File

@ -116,6 +116,14 @@ td > input[id^="checkbox-multi"] {
line-height: 2em;
}
.info_table.events tr > td span:not(.invisible) {
display: block;
overflow: hidden;
text-overflow: ellipsis;
max-height: 6em;
line-height: 1.5em;
}
th.column-estado {
padding: 0px 0px 0px 12px !important;
max-width: fit-content;

View File

@ -547,6 +547,45 @@ if (is_ajax() === true) {
);
}
if (empty($tmp->tags) === false) {
$tmp->tags = ui_print_truncate_text(
$tmp->tags,
30,
false,
true,
false,
'…',
true,
true,
);
}
if (empty($tmp->event_custom_id) === false) {
$tmp->event_custom_id = ui_print_truncate_text(
$tmp->event_custom_id,
30,
false,
true,
false,
'…',
true,
true,
);
}
if (empty($tmp->module_custom_id) === false) {
$tmp->module_custom_id = ui_print_truncate_text(
$tmp->module_custom_id,
30,
false,
true,
false,
'…',
true,
true,
);
}
if (empty($tmp->comments) === false) {
$tmp->comments = ui_print_comments($tmp->comments, 20);
}
@ -2614,7 +2653,7 @@ try {
[
[
'text' => 'options',
'class' => 'table_action_buttons mw120px',
'class' => 'table_action_buttons mw100px',
],
[
'text' => 'm',