mediawiki-skins-MinervaNeue/components/ToggleList/ToggleListItem.mustache
jdlrobson 2a76493a56 Labels for mw-ui-icon-before elements should be vertically aligned inside
This also resolves the issue with the language menu item being grayed out
for pages without languages

Bug: T233167
Bug: T233050
Change-Id: I05c54c0d35e4990717a8c3dc4ab42841349535f1
2019-09-20 10:37:46 -07:00

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}}