blob: 9f50c7b3eb12738976984e08240648a944c18d71 [file] [log] [blame]
Matteo Scandolof6acdbe2016-12-13 10:29:37 -08001<header class="header">
2 <p class="header-title">
3 <a href="#/" target="_blank">
4 {{vm.title}}
5 </a>
6 </p>
Matteo Scandolo63e43eb2016-12-14 14:18:53 -08007 <p class="header-date notification">
Matteo Scandoloc719e792016-12-14 15:48:31 -08008 <i ng-show="vm.newNotifications.length > 0" class="badge"></i>
Matteo Scandolo63e43eb2016-12-14 14:18:53 -08009 <i class="fa fa-bell" ng-click="showNotification = !showNotification"></i>
10 <div class="notification-panel" ng-show="showNotification">
11 <ul>
Matteo Scandoloc719e792016-12-14 15:48:31 -080012 <li ng-repeat="n in vm.notifications" ng-click="vm.viewNotification(n)" ng-class="{viewed: n.viewed}">
Matteo Scandolo63e43eb2016-12-14 14:18:53 -080013 <b>{{n.model}}</b><br>
14 <i>{{n.msg.object.name}} status is {{n.msg.object.backend_status}}</i>
15 </li>
16 </ul>
17 </div>
18 </p>
Matteo Scandolof6acdbe2016-12-13 10:29:37 -080019</header>