blob: 9f50c7b3eb12738976984e08240648a944c18d71 [file] [log] [blame]
<header class="header">
<p class="header-title">
<a href="#/" target="_blank">
{{vm.title}}
</a>
</p>
<p class="header-date notification">
<i ng-show="vm.newNotifications.length > 0" class="badge"></i>
<i class="fa fa-bell" ng-click="showNotification = !showNotification"></i>
<div class="notification-panel" ng-show="showNotification">
<ul>
<li ng-repeat="n in vm.notifications" ng-click="vm.viewNotification(n)" ng-class="{viewed: n.viewed}">
<b>{{n.model}}</b><br>
<i>{{n.msg.object.name}} status is {{n.msg.object.backend_status}}</i>
</li>
</ul>
</div>
</p>
</header>