mediawiki-skins-Vector/includes/templates/MainMenuAction.mustache
Jon Robson 9c36435220 VectorComponentMainMenuAction: Have class to distinguish between different actions
It should be possible to style the language alert without impacting the opt in
action.

Bug: T317899
Change-Id: Ifea7d476099ab3a09da20522380664b9ad5eceb3
2022-11-28 20:15:16 +00:00

10 lines
383 B
Plaintext

{{! `heading` is optional. }}
<div class="vector-main-menu-action vector-main-menu-action-{{action}}">
<div class="vector-main-menu-action-item vector-menu-portal">
{{#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>