Merge branch 'ent-9866-visualizacion-completa-de-notificaciones-en-metaconsola' into 'develop'

Ent 9866 visualizacion completa de notificaciones en metaconsola

See merge request artica/pandorafms!6170
This commit is contained in:
Rafael Ameijeiras 2023-08-03 07:03:47 +00:00
commit a653c0e2e7
1 changed files with 5 additions and 0 deletions

View File

@ -1092,6 +1092,11 @@ function notifications_print_dropdown_element($message_info)
$message_info['subject'] = io_safe_input($img);
}
if (strlen($body_preview) >= 170) {
$body_preview = substr($body_preview, 0, 150);
$body_preview .= __('. Read More...');
}
return sprintf(
"<a
class='notification-item'