35 lines
2.3 KiB
Plaintext
35 lines
2.3 KiB
Plaintext
|
|
<div id="notification-container" ng-controller="notificationCtrl" >
|
|
<div id="notification-controller-div" >
|
|
<ul class="nav navbar-nav pull-right right-navbar-nav">
|
|
<li class="nav-icon-btn nav-icon-btn-danger dropdown">
|
|
<a href="#notifications" ng-disabled="ids.length == 0" class="dropdown-toggle" data-toggle="dropdown">
|
|
<span id="NotificationLabel" ng-cloak class="label">{{ids.length}}</span>
|
|
<i class="nav-icon fa fa-bullhorn"></i>
|
|
<span class="small-screen-text">Notifications</span>
|
|
</a>
|
|
|
|
<!-- NOTIFICATIONS -->
|
|
<!-- Javascript -->
|
|
<!-- / Javascript -->
|
|
|
|
<div class="dropdown-menu widget-notifications no-padding" style="width: auto; max-height:450px; overflow-y:auto; white-space: nowrap" >
|
|
<div class="notifications-list" id="main-navbar-notifications ndropdown">
|
|
<div ng-repeat="x in ids" id={{x.Id}} class="notification">
|
|
<div ng-hide="{{x.NotificationViewed}}">
|
|
<div ng-show="{{x.type}} == 4" class="notification-title text-danger"><a ng-href={{x.link}}>{{x.title}}</a></div>
|
|
<div ng-show="{{x.type}} != 4" class="notification-title text-info">
|
|
<a ng-href={{x.link}}>{{x.title}}</a>
|
|
<div class="notification-description">{{ x.description }}</div>
|
|
<div class="notification-ago">{{ x.NotificationHours }}h ago <button ng-show="{{x.type}} != 4 && {{x.type}} != 2" ng-click="dismissNotification(x.Id )" class="notificationBtn fa fa-times bg-default"></button></div>
|
|
|
|
<button ng-show="{{x.type}} == 4" ng-click="dismissNotification(x.Id)" class="notification-icon fa fa-hdd-o bg-danger fa-trash"></button>
|
|
@*<button ng-show="{{x.type}} != 4 && {{x.type}} != 2" ng-click="dismissNotification(x.Id )" class="notification-icon fa fa-times bg-default"></button>*@
|
|
</div>
|
|
</div>
|
|
</div> <!-- / .notifications-list -->
|
|
</div> <!-- / .dropdown-menu -->
|
|
</li>
|
|
</ul>
|
|
</div>
|
|
</div> |