mirror of
https://gerrit.wikimedia.org/r/mediawiki/skins/Vector.git
synced 2024-11-12 09:21:11 +00:00
755f10cd0b
- Remove unused button, data from sticky header. - Simplify template to leave sticky user menu placeholder. - Update js to clone user menu with new ids. - Include gadget-injected items in sticky user menu. Bug: T289816 Change-Id: I23fde537efc2a66a2df22cd2633fbab034b73eb6
30 lines
942 B
Plaintext
30 lines
942 B
Plaintext
<header id="vector-sticky-header"
|
|
class="vector-sticky-header {{#is-visible}}vector-sticky-header-visible{{/is-visible}}">
|
|
<div class="vector-sticky-header-start">
|
|
<div class="vector-sticky-header-icon-start">
|
|
{{#data-button-start}}
|
|
{{>Button}}
|
|
{{/data-button-start}}
|
|
</div>
|
|
<div class="vector-sticky-header-context-bar">
|
|
<div class="vector-sticky-header-context-bar-primary">{{title}}</div>
|
|
<div class="vector-sticky-header-context-bar-secondary">{{heading}}</div>
|
|
</div>
|
|
</div>
|
|
<div class="vector-sticky-header-end">
|
|
<div class="vector-sticky-header-icons">
|
|
{{#data-buttons}}
|
|
{{>Button}}
|
|
{{/data-buttons}}
|
|
</div>
|
|
{{#data-primary-action}}
|
|
{{>Button}}
|
|
{{/data-primary-action}}
|
|
<div class="vector-sticky-header-icon-end">
|
|
<div class="vector-user-links">
|
|
{{! User menu items with unique ids are cloned here from the fixed header in stickyHeader.js. }}
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</header>
|