mediawiki-extensions-Echo/modules/mobile/NotificationBadge.mustache
Jon Robson 5350bba546 Drop unused zero class
Not used anywhere.

Change-Id: I848650e4e3497664d712537437d8a10b22d6afb1
2022-04-04 18:20:27 +00:00

19 lines
697 B
Plaintext

{{^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}}">
<div class="circle">
<span data-notification-count="{{notificationCountRaw}}">
{{notificationCountString}}
</span>
</div>
</a>
{{/hasNotifications}}