mirror of
https://gerrit.wikimedia.org/r/mediawiki/skins/Vector.git
synced 2024-11-15 03:34:25 +00:00
298f945983
- Adds mustache template for the new user menu - Uses new functions for getting user link data that have been factored out of SkinTemplate in the dependent patch - Refactor new user menu styles to be namespaced inside UserMenu.less Notes: - Originally this patch included more storybook changes, but I removed them in favor of this follow up patch: 696651 Bug: T276564 Depends-On: Ia841f92c626ca32a9ad437b3d1cff78309c83ed8 Change-Id: Ib15752428265fdc06a3000f62bdca44c67648974
13 lines
361 B
Plaintext
13 lines
361 B
Plaintext
<div class="vector-user-links">
|
|
{{#is-anon}}
|
|
<div id="p-createaccount">
|
|
{{#data-userlinks}}{{{html-create-account}}}{{/data-userlinks}}
|
|
</div>
|
|
{{/is-anon}}
|
|
{{^is-anon}}
|
|
{{#data-notifications}}{{>Menu}}{{/data-notifications}}
|
|
{{#data-user-page}}{{>Menu}}{{/data-user-page}}
|
|
{{/is-anon}}
|
|
{{#data-user-menu}}{{>UserMenu}}{{/data-user-menu}}
|
|
</div>
|