19 lines
616 B
Plaintext
19 lines
616 B
Plaintext
{{^hasNotifications}}
|
|
<a href="{{url}}" title="{{title}}"
|
|
class="{{notificationIconClass}} user-button main-header-button" id="user-notifications">
|
|
{{title}}
|
|
</a>
|
|
{{/hasNotifications}}
|
|
{{#hasNotifications}}
|
|
<a href="{{url}}" title="{{title}}"
|
|
id="user-notifications"
|
|
class="notification-count user-button {{#hasUnseenNotifications}}notification-unseen{{/hasUnseenNotifications}}
|
|
{{#isNotificationCountZero}}zero{{/isNotificationCountZero}}">
|
|
<div class="circle">
|
|
<span data-notification-count="{{notificationCountRaw}}">
|
|
{{notificationCountString}}
|
|
</span>
|
|
</div>
|
|
</a>
|
|
{{/hasNotifications}}
|