mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-22 02:11:44 +03:00
acb1cc6283
closes #5434 - remove transition away from team page to user page of authors - hide invite button from authors - hide invited users from authors - adjusted gh-user-can and renamed to gh-user-can-admin - hide password reset on owners profile from administrators - hide input field for owner email from administrators pending api fix - fix up tests
18 lines
559 B
Handlebars
18 lines
559 B
Handlebars
<span class="user-list-item-figure" style={{component.userImageBackground}}>
|
|
<span class="hidden">Photo of {{user.name}}</span>
|
|
</span>
|
|
|
|
<div class="user-list-item-body">
|
|
<span class="name">
|
|
{{user.name}}
|
|
</span>
|
|
<br>
|
|
<span class="description">Last seen: {{component.last_login}}</span>
|
|
</div>
|
|
<aside class="user-list-item-aside">
|
|
{{#unless session.user.isAuthor}}
|
|
{{#each user.roles as |role|}}
|
|
<span class="role-label {{role.lowerCaseName}}">{{role.name}}</span>
|
|
{{/each}}
|
|
{{/unless}}
|
|
</aside> |