2015-10-09 15:27:40 -07:00
|
|
|
<div ng-controller="BannerController" ng-show="active.notification"
|
2015-10-22 16:29:10 -07:00
|
|
|
class="l-message-banner s-message-banner {{active.notification.severity}}" ng-class="{
|
2015-10-14 11:45:39 -07:00
|
|
|
'minimized': active.notification.minimized,
|
|
|
|
'new': !active.notification.minimized}"
|
2015-10-13 17:13:24 -07:00
|
|
|
ng-click="maximize(active.notification)">
|
2015-10-09 15:27:40 -07:00
|
|
|
<span class="banner-elem label">
|
|
|
|
{{active.notification.title}}
|
|
|
|
</span>
|
2015-10-10 11:28:19 -07:00
|
|
|
<span ng-show="active.notification.progress !== undefined || active.notification.unknownProgress">
|
2015-10-09 15:27:40 -07:00
|
|
|
<mct-include key="'progress-bar'" class="banner-elem"
|
|
|
|
ng-model="active.notification">
|
|
|
|
</mct-include>
|
|
|
|
</span>
|
2015-10-22 14:14:21 -07:00
|
|
|
<a ng-hide="active.notification.primaryOption === undefined"
|
2015-10-09 15:27:40 -07:00
|
|
|
class="banner-elem l-action s-action"
|
2015-10-22 14:14:21 -07:00
|
|
|
ng-click="action(active.notification.primaryOption.callback, $event)">
|
|
|
|
{{active.notification.primaryOption.label}}
|
2015-10-09 15:27:40 -07:00
|
|
|
</a>
|
2015-10-14 14:08:35 -07:00
|
|
|
<a class="banner-elem ui-symbol close" ng-click="dismiss(active.notification, $event)">
|
2015-10-09 15:27:40 -07:00
|
|
|
x</a>
|
2015-10-02 18:37:01 -07:00
|
|
|
</div>
|