mirror of
https://gerrit.wikimedia.org/r/mediawiki/skins/MinervaNeue
synced 2024-12-01 01:06:31 +00:00
d342cb32ef
Use the Button.mustache partial in the PageActionsMenu.mustache template. This converts the page actions menu to use the Button template in a way that doesn't change the existing HTML. The mw-ui-icon-element and mw-ui-icon-with-label-desktop classes are placed onto the Button.mustache markup. Bug: T342908 Change-Id: Ib5dadd929eea2e72a24e061c4174348615890617
17 lines
395 B
Plaintext
17 lines
395 B
Plaintext
<nav class="page-actions-menu">
|
|
<ul id="page-actions" class="page-actions-menu__list">
|
|
{{#toolbar}}
|
|
<li id="{{name}}" class="page-actions-menu__list-item">
|
|
{{#components}}
|
|
{{>Button}}
|
|
{{/components}}
|
|
</li>
|
|
{{/toolbar}}
|
|
{{#overflowMenu}}
|
|
<li id="{{item-id}}" class="page-actions-menu__list-item">
|
|
{{> ToggleList/ToggleList}}
|
|
</li>
|
|
{{/overflowMenu}}
|
|
</ul>
|
|
</nav>
|