mirror of
https://gerrit.wikimedia.org/r/mediawiki/skins/Vector.git
synced 2024-11-24 15:53:46 +00:00
e7a4ecf9db
We prefix templates that are booleans with "is-" and tend to prefix functions that return booleans with "if" or "should" This renames the new "shouldConsolidateLinks" method. Follow up to I1c305d89bece147a6f1b478441119c3169abfbdd Change-Id: I6a5908b8b35ca6bceec8b864e3ac651fc7e8ced8
31 lines
878 B
Plaintext
31 lines
878 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-portlets}}
|
|
{{#data-notifications}}{{>Menu}}{{/data-notifications}}
|
|
{{/data-portlets}}
|
|
{{#data-portlets}}
|
|
{{#data-user-page}}{{>Menu}}{{/data-user-page}}
|
|
{{/data-portlets}}
|
|
{{#data-portlets}}
|
|
{{#data-user-menu}}{{>Menu}}{{/data-user-menu}}
|
|
{{/data-portlets}}
|
|
{{/is-consolidated-user-links}}
|
|
</header>
|