mirror of
https://gerrit.wikimedia.org/r/mediawiki/skins/Vector.git
synced 2024-12-21 12:12:44 +00:00
d1c0e6cd6f
The languages alert is misleading when there are no languages and the user has JS disabled. This change adds a class to the alert if there are 0 languages, and then adds "display: none" to the alert if the client-nojs class is present. This is the same approach being used for the language switcher button. Bug: T326185 Change-Id: Iee292d661ed1f47700f588053712f5f547022b17
10 lines
390 B
Plaintext
10 lines
390 B
Plaintext
{{! `heading` is optional. }}
|
|
<div class="vector-main-menu-action vector-main-menu-action-{{action}}{{#class}} {{.}}{{/class}}">
|
|
<div class="vector-main-menu-action-item">
|
|
{{#heading}}<div class="vector-main-menu-action-heading vector-menu-heading">{{.}}</div>{{/heading}}
|
|
<div class="vector-main-menu-action-content vector-menu-content">
|
|
{{{html-content}}}
|
|
</div>
|
|
</div>
|
|
</div>
|