N°3530 Replace hardcoded newsroom message indicator and add tooltip when menu is collapsed

This commit is contained in:
Stephen Abello
2021-03-17 17:32:44 +01:00
parent 610ff6494a
commit bab2febb24
5 changed files with 30 additions and 13 deletions

View File

@@ -93,9 +93,10 @@ class NewsroomMenuFactory
'providers' => $aProviderParams,
'display_limit' => (int)appUserPreferences::GetPref('newsroom_display_size', 7),
'labels' => array(
'no_message' => Dict::S('UI:Newsroom:NoNewMessage'),
'mark_all_as_read' => Dict::S('UI:Newsroom:MarkAllAsRead'),
'view_all' => Dict::S('UI:Newsroom:ViewAllMessages'),
'no_notification' => 'UI:Newsroom:NoNewMessage',
'x_notifications' => 'UI:Newsroom:XNewMessage',
'mark_all_as_read' => 'UI:Newsroom:MarkAllAsRead',
'view_all' => 'UI:Newsroom:ViewAllMessages'
),
);
return $aParams;