mirror of
https://github.com/StarCitizenTools/mediawiki-skins-Citizen.git
synced 2024-11-15 02:24:04 +00:00
03da361b97
- Refactor existing template data-related partials into CitizenComponent components - Re-implement user menu header as UserInfo - Add description text for anon and temp user in UserMenu --------- Co-authored-by: github-actions <github-actions@users.noreply.github.com>
26 lines
1 KiB
Plaintext
26 lines
1 KiB
Plaintext
{{!
|
|
string msg-citizen-usermenu-toggle The label used by the user menu button.
|
|
}}
|
|
<div class="citizen-userMenu citizen-header__item citizen-menu-checkbox-container">
|
|
<input
|
|
type="checkbox"
|
|
id="citizen-userMenu__checkbox"
|
|
class="citizen-menu-checkbox-checkbox"
|
|
role="button"
|
|
aria-labelledby="citizen-userMenu__buttonCheckbox"
|
|
aria-haspopup="true">
|
|
<label
|
|
id="citizen-userMenu__buttonCheckbox"
|
|
class="citizen-menu-checkbox-button citizen-header__button"
|
|
for="citizen-userMenu__checkbox"
|
|
title="{{msg-citizen-usermenu-toggle}}"
|
|
aria-hidden="true">
|
|
<span class="citizen-ui-icon mw-ui-icon-wikimedia-userAvatar"></span>
|
|
<span>{{msg-citizen-usermenu-toggle}}</span>
|
|
</label>
|
|
<aside id="citizen-userMenu__card" class="citizen-userMenu__card citizen-menu-checkbox-target">
|
|
{{#data-user-info}}{{>UserInfo}}{{/data-user-info}}
|
|
{{#data-portlets.data-user-interface-preferences}}{{>Menu}}{{/data-portlets.data-user-interface-preferences}}
|
|
{{#data-portlets.data-user-menu}}{{>Menu}}{{/data-portlets.data-user-menu}}
|
|
</aside>
|
|
</div> |