mirror of
https://gerrit.wikimedia.org/r/mediawiki/skins/MinervaNeue
synced 2024-12-02 17:57:00 +00:00
eae59a8c86
This fix was already applied to the main menu in change Idc603ccaeeb42f60899059ebb51226e8a20a969d Bug: T301056 Change-Id: Id31fa76f40aab44672efc51fb981d481c27f1ff8
17 lines
566 B
Plaintext
17 lines
566 B
Plaintext
{{!
|
|
array components
|
|
string|null components.class Optional anchor CSS class.
|
|
string|null components.href Optional URI.
|
|
string|null components.text Optional text.
|
|
string|null components.data-event-name Optional tracking code.
|
|
}}
|
|
{{#components}}
|
|
<li class="toggle-list-item">
|
|
<a class="toggle-list-item__anchor {{class}}" href="{{href}}"
|
|
data-event-name="{{data-event-name}}" data-mw="interface">
|
|
{{#icon}}<span class="mw-ui-icon mw-ui-icon-{{.}}"></span>{{/icon}}
|
|
<span class="toggle-list-item__label">{{text}}</span>
|
|
</a>
|
|
</li>
|
|
{{/components}}
|