mediawiki-skins-Citizen/templates/UserInfo.mustache
alistair3149 03da361b97
feat(components): rewrite template data partials into CitizenComponent components (#846)
- 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>
2024-05-15 01:24:43 -04:00

20 lines
632 B
Plaintext

<div class="citizen-userInfo">
<div class="citizen-userInfo-title">
{{#title}}<div>{{.}}</div>{{/title}}
{{#data-user-page}}{{>Menu}}{{/data-user-page}}
</div>
<div class="citizen-userInfo-text">
{{#text}}<div>{{.}}</div>{{/text}}
{{#data-user-groups}}
<ul class="citizen-userInfo-usergroups">
{{#array-list-items}}{{>MenuListItem}}{{/array-list-items}}
</ul>
{{/data-user-groups}}
</div>
{{#data-user-edit}}
<div class="citizen-userInfo-edits">
<div class="citizen-userInfo-edits-count">{{count}}</div>
<div class="citizen-userInfo-edits-label">{{label}}</div>
</div>
{{/data-user-edit}}
</div>