mirror of
https://gerrit.wikimedia.org/r/mediawiki/skins/Vector.git
synced 2024-11-24 23:55:53 +00:00
96bf1e8276
Have a single template for the UserLinks component, with a single element wrapping all its subcomponents as discussed. Change-Id: I35936a6fa1ba335639ca3f47fd439a3662268fca
23 lines
605 B
Plaintext
23 lines
605 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}}
|
|
{{#data-portlets}}
|
|
{{^is-consolidated-user-links}}
|
|
{{#data-personal}}{{>Menu}}{{/data-personal}}
|
|
{{/is-consolidated-user-links}}
|
|
{{#is-consolidated-user-links}}
|
|
{{>UserLinks}}
|
|
{{/is-consolidated-user-links}}
|
|
{{/data-portlets}}
|
|
</header>
|