mediawiki-skins-Vector/includes/templates/UserLinks.mustache
bwang 298f945983 Create new user menu template for consolidated user links in logged out users
- 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
2021-06-02 09:23:22 -05:00

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>