mirror of
https://gerrit.wikimedia.org/r/mediawiki/skins/Vector.git
synced 2024-11-28 17:40:12 +00:00
d39b5c958a
Pages that are not supported in other languages should not display the ULS when the language button is clicked. Instead, a simple message explaining that the page contents are supported in other languages should be displayed inside the dropdown. Additionally, the language button should be modified for these non-content pages, to non include any label and be quiet instead of progressive. This patch implements these specifications by appropriately modifying the mustache templates and the underlying skin classes. Bug: T316559 Change-Id: I37d8e61a1287b31d1a304d2a955f532b9b8fa505
12 lines
371 B
Plaintext
12 lines
371 B
Plaintext
{{! Use `.mw-portlet-lang` to target styles at this element}}
|
|
{{>Dropdown/Open}}
|
|
{{#is-language-selector-empty}}
|
|
<div class="mw-portlet-empty-language-selector-body">
|
|
{{msg-empty-language-selector-body}}
|
|
</div>
|
|
{{/is-language-selector-empty}}
|
|
{{^is-language-selector-empty}}
|
|
{{>MenuContents}}
|
|
{{/is-language-selector-empty}}
|
|
{{>Dropdown/Close}}
|