| <header class="header"> |
| <p class="header-title"> |
| <a href="#/" target="_blank"> |
| {{vm.title}} |
| </a> |
| </p> |
| <p class="header-date notification"> |
| <i ng-show="vm.notifications.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"> |
| <b>{{n.model}}</b><br> |
| <i>{{n.msg.object.name}} status is {{n.msg.object.backend_status}}</i> |
| </li> |
| </ul> |
| </div> |
| </p> |
| </header> |