mediawiki-skins-Vector/includes/templates/Menu.mustache
bwang e0eeb1a8c9 Update html-label to use label-class
Follow-up: I64e4780102a743c5ace332a562b4f9d73ea10d16
Change-Id: I255e12f22436b567ec01fafe667138ffd981afed
2023-07-11 16:49:40 +00:00

18 lines
518 B
Plaintext

{{!
See @typedef MenuDefinition
}}
{{! DO NOT REMOVE vector-menu class. It is used for click tracking in Extension:WikimediaEvents }}
<div id="{{id}}" class="vector-menu{{#class}} {{.}}{{/class}}" {{{html-tooltip}}} {{{html-user-language-attributes}}}>
{{#label}}
<div class="vector-menu-heading{{#label-class}} {{.}}{{/label-class}}">
{{.}}
</div>
{{/label}}
{{#html-label}}
<div class="vector-menu-heading{{#label-class}} {{.}}{{/label-class}}">
{{{.}}}
</div>
{{/html-label}}
{{>MenuContents}}
</div>