mirror of
https://github.com/fergalmoran/dss.web.git
synced 2026-02-15 04:25:41 +00:00
13 lines
1.0 KiB
HTML
13 lines
1.0 KiB
HTML
<li id=navbar-notification-dropdown class=dropdown><a data-toggle=dropdown class=dropdown-toggle href=#><i
|
|
class="fa fa-envelope-o"></i> <span class="badge bg-important" ng-show="notificationCount != 0">{{notificationCount}}</span></a>
|
|
<ul class="dropdown-menu extended inbox">
|
|
<div class="notify-arrow notify-arrow-red"></div>
|
|
<li><p class=red>You have {{notificationCount}} new notifications</p></li>
|
|
<li ng-repeat="notification in notifications"
|
|
ng-class="notification.accepted_date ? \'\' : \'notification-new\'"><a href={{notification.target}}><span
|
|
class=photo><img alt=avatar ng-src={{notification.from_user.profile_image_small}}></span> <span
|
|
class=subject><span class=from>{{notification.from_user.first_name}}</span> <span class=time>{{notification.date|humanise}}</span></span>
|
|
<span class=message>{{notification.verb}} {{notification.target_desc}}</span></a></li>
|
|
<li><a href=#>See all messages</a></li>
|
|
</ul>
|
|
</li> |