mirror of
https://gerrit.wikimedia.org/r/mediawiki/skins/MinervaNeue
synced 2024-12-05 02:59:00 +00:00
19 lines
555 B
Plaintext
19 lines
555 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>
|
||
|
{{notificationCount}}
|
||
|
</span>
|
||
|
</div>
|
||
|
</a>
|
||
|
{{/hasNotifications}}
|