mediawiki-skins-Vector/includes/templates/UserLinks.mustache
Jon Robson 5a0678c77d Allow client side preferences to render in a dropdown
Known problems:

- For now, this can only be rendered by manually updating
the isClientPreferencesPinned local variable in SkinVector22
This will be addressed in T351141
- The icon is not correct. This will be addressed in
https://phabricator.wikimedia.org/T351142

Bug: T350195
Change-Id: I0b1ec445c4d292bbf417a39dbc5d2032b563f525
2023-11-15 12:50:54 +01:00

11 lines
602 B
Plaintext

<nav class="vector-user-links{{#is-wide}} vector-user-links-wide{{/is-wide}}" aria-label="{{msg-personaltools}}" role="navigation" >
<div class="vector-user-links-main">
{{#data-user-links-preferences}}{{>Menu}}{{/data-user-links-preferences}}
{{#data-user-links-user-page}}{{>Menu}}{{/data-user-links-user-page}}
{{#data-user-links-client-prefs}}{{>ClientPreferencesDropdown}}{{/data-user-links-client-prefs}}
{{#data-user-links-notifications}}{{>Menu}}{{/data-user-links-notifications}}
{{#data-user-links-overflow}}{{>Menu}}{{/data-user-links-overflow}}
</div>
{{>UserLinksDropdown}}
</nav>