mirror of
https://gerrit.wikimedia.org/r/mediawiki/skins/MinervaNeue
synced 2024-11-28 08:00:32 +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
10 lines
248 B
Plaintext
10 lines
248 B
Plaintext
<li class="{{class}}">
|
|
{{#components}}
|
|
<a class="{{class}}"
|
|
{{#array-attributes}}{{key}}="{{value}}"{{/array-attributes}}>
|
|
{{#data-icon}} {{>IconLegacy}} {{/data-icon}}
|
|
<span>{{label}}</span>
|
|
</a>
|
|
{{/components}}
|
|
</li>
|