-
Notifications
You must be signed in to change notification settings - Fork 1.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
integrate with guanlecoja-ui 1.1 (notifications)
Signed-off-by: Pierre Tardy <pierre.tardy@intel.com>
- Loading branch information
Pierre Tardy
committed
Aug 18, 2014
1 parent
b5093d2
commit 0b3bb5b
Showing
9 changed files
with
11 additions
and
109 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,10 @@ | ||
class RouteChangeListener extends Run | ||
constructor: ($rootScope, $log, config, alert) -> | ||
constructor: ($rootScope, $log, config, glNotificationService) -> | ||
# fire an event related to the current route | ||
$rootScope.$on '$routeChangeSuccess', (event, currentRoute, priorRoute) -> | ||
$rootScope.$broadcast "#{currentRoute.controller}$routeChangeSuccess", | ||
currentRoute, priorRoute | ||
if config.on_load_warning? | ||
setTimeout -> | ||
alert.warning(config.on_load_warning) | ||
console.log config.on_load_warning | ||
, 500 | ||
glNotificationService.notify(msg:config.on_load_warning) | ||
, 500 |
31 changes: 0 additions & 31 deletions
31
www/base/src/app/common/directives/topmenu/topmenu.directive.coffee
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,4 +2,6 @@ extends layout | |
block content | ||
gl-page-with-sidebar | ||
gl-topbar | ||
gl-notification | ||
This comment has been minimized.
Sorry, something went wrong.
This comment has been minimized.
Sorry, something went wrong.
tardyp
Member
|
||
loginbar | ||
ui-view |
Can we move this to a plugin ?