Matteo Scandolo | f6acdbe | 2016-12-13 10:29:37 -0800 | [diff] [blame] | 1 | <header class="header"> |
| 2 | <p class="header-title"> |
| 3 | <a href="#/" target="_blank"> |
| 4 | {{vm.title}} |
| 5 | </a> |
| 6 | </p> |
Matteo Scandolo | 63e43eb | 2016-12-14 14:18:53 -0800 | [diff] [blame^] | 7 | <p class="header-date notification"> |
| 8 | <i ng-show="vm.notifications.length > 0" class="badge"></i> |
| 9 | <i class="fa fa-bell" ng-click="showNotification = !showNotification"></i> |
| 10 | <div class="notification-panel" ng-show="showNotification"> |
| 11 | <ul> |
| 12 | <li ng-repeat="n in vm.notifications"> |
| 13 | <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 Scandolo | f6acdbe | 2016-12-13 10:29:37 -0800 | [diff] [blame] | 19 | </header> |