#12527 redirect to all messages
This commit is contained in:
parent
d9b400d4ee
commit
ebbc4d77be
|
@ -1137,6 +1137,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:',
|
||||||
|
@ -1154,6 +1163,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>
|
||||||
|
@ -1166,6 +1176,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…
Reference in New Issue