Merge branch 'ent-12527-enlace-a-mensajes-en-sistema-de-notificacion' into 'develop'

Ent 12527 enlace a mensajes en sistema de notificacion

See merge request artica/pandorafms!6829
This commit is contained in:
Rafael Ameijeiras 2024-01-18 11:26:49 +00:00
commit 5ada85bd56

View File

@ -1159,6 +1159,15 @@ function notifications_print_dropdown()
$mess = [];
}
$redirection_notifications = html_print_menu_button(
[
'href' => 'javascript:',
'class' => 'notification_menu_actions',
'text' => __('View all messages'),
'onClick' => "window.location='".ui_get_full_url('index.php?sec=message_list&sec2=operation/messages/message_list')."'",
],
true
);
$notification_menu = html_print_menu_button(
[
'href' => 'javascript:',
@ -1176,6 +1185,7 @@ function notifications_print_dropdown()
<div class='notificaion_menu_container'>
<div class='menu_tab filter_notification'>%s</div>
<div class='menu_tab notification_menu'>%s</div>
<div class='menu_tab notification_menu'>%s</div>
</div>
%s
</div>
@ -1188,6 +1198,7 @@ function notifications_print_dropdown()
",
$notification_filter,
$notification_menu,
$redirection_notifications,
array_reduce(
$mess,
function ($carry, $message) {