mirror of
https://github.com/StarCitizenTools/mediawiki-skins-Citizen.git
synced 2024-11-23 22:13:38 +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>
20 lines
632 B
Plaintext
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> |