mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-30 01:05:39 +02:00
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:
commit
5ada85bd56
@ -1159,6 +1159,15 @@ function notifications_print_dropdown()
|
|||||||
$mess = [];
|
$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(
|
$notification_menu = html_print_menu_button(
|
||||||
[
|
[
|
||||||
'href' => 'javascript:',
|
'href' => 'javascript:',
|
||||||
@ -1176,6 +1185,7 @@ function notifications_print_dropdown()
|
|||||||
<div class='notificaion_menu_container'>
|
<div class='notificaion_menu_container'>
|
||||||
<div class='menu_tab filter_notification'>%s</div>
|
<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 class='menu_tab notification_menu'>%s</div>
|
||||||
</div>
|
</div>
|
||||||
%s
|
%s
|
||||||
</div>
|
</div>
|
||||||
@ -1188,6 +1198,7 @@ function notifications_print_dropdown()
|
|||||||
",
|
",
|
||||||
$notification_filter,
|
$notification_filter,
|
||||||
$notification_menu,
|
$notification_menu,
|
||||||
|
$redirection_notifications,
|
||||||
array_reduce(
|
array_reduce(
|
||||||
$mess,
|
$mess,
|
||||||
function ($carry, $message) {
|
function ($carry, $message) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user