mediawiki-skins-MinervaNeue/includes/skins/userNotifications.mustache
Stephen Niedzielski 1e61706e0e Hygiene: rename "secondary button" to "user notifications"
The secondary button is not generic. Rename it to match its specific
purpose.

Bug: T214540
Change-Id: I50b7e7fa7bea91a029a8ca71199b0309dff1c518
2019-06-19 11:31:16 -06:00

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}}