mirror of
https://gerrit.wikimedia.org/r/mediawiki/skins/MinervaNeue
synced 2024-11-28 16:10:55 +00:00
c5f38e466d
Changes: - added support of event-data-name to toggle list and all menu entries - track main menu open actions - prefix all menu interactions with `menu.` - prefix menu opening with `ui.` - track tab clicks (also a part of new ui) - track notification icon clicks We're not tracking the Download icon as it has it's own instrumentation. Bug: T220016 Change-Id: I442103c1f8967c6710429329f024f266c9b11ea6
20 lines
669 B
Plaintext
20 lines
669 B
Plaintext
{{^hasNotifications}}
|
|
<a href="{{url}}" title="{{title}}"
|
|
class="{{notificationIconClass}} 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="notification-count user-button {{#hasUnseenNotifications}}notification-unseen{{/hasUnseenNotifications}}
|
|
{{#isNotificationCountZero}}zero{{/isNotificationCountZero}}">
|
|
<div class="circle">
|
|
<span data-notification-count="{{notificationCountRaw}}">
|
|
{{notificationCountString}}
|
|
</span>
|
|
</div>
|
|
</a>
|
|
{{/hasNotifications}}
|