mirror of
https://gerrit.wikimedia.org/r/mediawiki/skins/Vector.git
synced 2024-11-24 23:55:53 +00:00
34344adbf5
- Adds html-before-portlet to Menu.mustache
- Removes UserMenu.mustache and type def
- Factors out getCreateAccountHTML and getLoginHTML for generating HTML used in Menu
- Scopes UserLink template data under "data-vector-user-links"
Follow up to: 298f945983
Bug: T284584
Change-Id: I91104eb7c4fd12756e770561666f4c9a64da57d6
14 lines
442 B
Plaintext
14 lines
442 B
Plaintext
<div class="vector-user-links">
|
|
{{#data-user-interface-preferences}}{{>Menu}}{{/data-user-interface-preferences}}
|
|
{{#is-anon}}
|
|
<div id="p-createaccount" class="vector-user-links-createaccount">
|
|
{{{html-create-account}}}
|
|
</div>
|
|
{{/is-anon}}
|
|
{{^is-anon}}
|
|
{{#data-notifications}}{{>Menu}}{{/data-notifications}}
|
|
{{#data-user-page}}{{>Menu}}{{/data-user-page}}
|
|
{{/is-anon}}
|
|
{{#data-user-menu}}{{>Menu}}{{/data-user-menu}}
|
|
</div>
|