Begun integration of Notifications framework with Charles' code
This commit is contained in:
@@ -1,12 +1,18 @@
|
||||
<div class="l-message-banner s-message-banner">
|
||||
<span class="banner-elem label">
|
||||
Objects not saved
|
||||
</span><mct-include key="'progress-bar'"
|
||||
class="banner-elem"
|
||||
ng-model="ngModel"
|
||||
ng-hide-x="ngModel.dialog.progress === undefined"></mct-include><a class="banner-elem l-action s-action">
|
||||
Try Again
|
||||
</a><a class="banner-elem ui-symbol close">
|
||||
x
|
||||
</a>
|
||||
<div ng-controller="BannerController">
|
||||
<div ng-show="active.notification"
|
||||
class="l-message-banner s-message-banner">
|
||||
<span class="banner-elem label">
|
||||
{{active.notification.title}}
|
||||
</span><mct-include key="'progress-bar'"
|
||||
class="banner-elem"
|
||||
ng-model="ngModel"
|
||||
ng-hide-x="ngModel.dialog.progress === undefined">
|
||||
|
||||
</mct-include>
|
||||
<a ng-hide="active.notification.progress === undefined"
|
||||
class="banner-elem l-action s-action">
|
||||
Try Again
|
||||
</a>
|
||||
<a class="banner-elem ui-symbol close">x</a>
|
||||
</div>
|
||||
</div>
|
||||
@@ -26,7 +26,7 @@ define(
|
||||
function () {
|
||||
"use strict";
|
||||
function BannerController($scope, notificationService){
|
||||
$scope.activeNotification = notificationService.active.Notification;
|
||||
$scope.active = notificationService.active;
|
||||
}
|
||||
return BannerController;
|
||||
});
|
||||
Reference in New Issue
Block a user