mirror of
https://github.com/Combodo/iTop.git
synced 2026-04-25 19:48:49 +02:00
N°2847 First iteration for newsroom menu:
* Kept old js widget but refactored/tweak'd it with some of our new conventions * Added a newsroom menu component extending popupmenu * Working as in 2.7 Still todo : * Add variables for scss file * Use wiget variables for most of js widget * Correctly place the popup (absolute with <> containers ? poppers.js ? ) * Intialize toggler red bubble when new messages are in * Replace hardcoded text in usermenu with correct dict entry updated with the nb of new message * Only allow to open the popup when ajax calls are done
This commit is contained in:
@@ -21,8 +21,10 @@ namespace Combodo\iTop\Application\UI\Component\PopoverMenu;
|
||||
|
||||
|
||||
|
||||
use appUserPreferences;
|
||||
use Combodo\iTop\Application\UI\Component\PopoverMenu\PopoverMenuItem\PopoverMenuItemFactory;
|
||||
use Dict;
|
||||
use iNewsroomProvider;
|
||||
use JSPopupMenuItem;
|
||||
use MetaModel;
|
||||
use URLPopupMenuItem;
|
||||
@@ -68,7 +70,7 @@ class PopoverMenuFactory
|
||||
|
||||
return $oMenu;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Return the allowed portals items for the current user
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user