mediawiki-skins-MinervaNeue/includes/skins/secondaryButton.mustache
jdlrobson 12b49a70ad Notification icon should not show NaN for persian Wikipedia
Bug: T172755
Change-Id: I2884c8daed3fe0e0d05c746ec6319956b7426957
2017-10-26 20:27:12 +00:00

19 lines
612 B
Plaintext

{{^hasNotifications}}
<a href="{{url}}" title="{{title}}"
class="{{notificationIconClass}} user-button main-header-button" id="secondary-button">
{{title}}
</a>
{{/hasNotifications}}
{{#hasNotifications}}
<a href="{{url}}" title="{{title}}"
id="secondary-button"
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}}