mirror of
https://gerrit.wikimedia.org/r/mediawiki/skins/MinervaNeue
synced 2024-11-15 18:29:50 +00:00
1e61706e0e
The secondary button is not generic. Rename it to match its specific purpose. Bug: T214540 Change-Id: I50b7e7fa7bea91a029a8ca71199b0309dff1c518
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}}
|