mirror of
https://gerrit.wikimedia.org/r/mediawiki/skins/MinervaNeue
synced 2024-12-03 02:06:43 +00:00
2a76493a56
This also resolves the issue with the language menu item being grayed out for pages without languages Bug: T233167 Bug: T233050 Change-Id: I05c54c0d35e4990717a8c3dc4ab42841349535f1
17 lines
523 B
Plaintext
17 lines
523 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" href="{{href}}" data-event-name="{{data-event-name}}">
|
|
<span class="toggle-list-item__icon {{class}}">
|
|
<span class="toggle-list-item__label">{{text}}</span>
|
|
</span>
|
|
</a>
|
|
</li>
|
|
{{/components}}
|