mediawiki-skins-Citizen/templates/UserMenu.mustache
2022-11-21 17:41:30 -05:00

26 lines
933 B
Plaintext

{{!
string msg-citizen-usermenu-toggle The label used by the user menu button.
}}
<div class="citizen-userMenu citizen-header__item mw-checkbox-hack-container">
<input
type="checkbox"
id="citizen-userMenu__checkbox"
class="mw-checkbox-hack-checkbox"
role="button"
aria-labelledby="citizen-userMenu__buttonCheckbox"
aria-haspopup="true">
<aside id="citizen-userMenu__card" class="citizen-userMenu__card mw-checkbox-hack-target">
{{#data-user-info}}
<div class="citizen-userMenu__header">{{>Menu}}</div>
{{/data-user-info}}
{{#data-portlets.data-user-menu}}{{>Menu}}{{/data-portlets.data-user-menu}}
</aside>
<label
id="citizen-userMenu__buttonCheckbox"
class="mw-checkbox-hack-button citizen-header__button citizen-header__button--icon"
for="citizen-userMenu__checkbox"
title="{{msg-citizen-usermenu-toggle}}"
aria-hidden="true">
<span>{{msg-citizen-usermenu-toggle}}</span>
</label>
</div>