blob: 18045e2cda199b1de2aaff47d5a62ac9ccfb8352 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
{{^hasNotifications}}
<a href="{{url}}" title="{{title}}"
class="{{notificationIconClass}} mw-echo-notification-badge-nojs user-button" id="user-notifications" data-event-name="ui.notifications">
{{title}}
</a>
{{/hasNotifications}}
{{#hasNotifications}}
<a href="{{url}}" title="{{title}}"
id="user-notifications"
data-event-name="ui.notifications"
class="mw-echo-notification-badge-nojs mw-echo-unseen-notifications notification-count user-button {{#hasUnseenNotifications}}notification-unseen{{/hasUnseenNotifications}}
{{#isNotificationCountZero}}zero{{/isNotificationCountZero}}">
<div class="circle">
<span data-notification-count="{{notificationCountRaw}}">
{{notificationCountString}}
</span>
</div>
</a>
{{/hasNotifications}}
|