mirror of
https://gerrit.wikimedia.org/r/mediawiki/skins/Vector.git
synced 2024-12-04 20:18:57 +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
23 lines
662 B
Plaintext
23 lines
662 B
Plaintext
<header class="mw-header">
|
|
<label
|
|
id="mw-sidebar-button"
|
|
class="mw-checkbox-hack-button mw-ui-icon mw-ui-icon-element"
|
|
for="mw-sidebar-checkbox"
|
|
role="button"
|
|
aria-controls="mw-panel"
|
|
data-event-name="ui.sidebar"
|
|
tabindex="0">
|
|
{{msg-vector-action-toggle-sidebar}}
|
|
</label>
|
|
{{>Logo}}
|
|
{{#data-search-box}}{{>SearchBox}}{{/data-search-box}}
|
|
{{^is-consolidated-user-links}}
|
|
{{#data-portlets}}
|
|
{{#data-personal}}{{>Menu}}{{/data-personal}}
|
|
{{/data-portlets}}
|
|
{{/is-consolidated-user-links}}
|
|
{{#is-consolidated-user-links}}
|
|
{{#data-vector-user-links}}{{>UserLinks}}{{/data-vector-user-links}}
|
|
{{/is-consolidated-user-links}}
|
|
</header>
|