mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-24 11:22:19 +03:00
37235413e8
- Incorrect message was shown (Invitation sent instead of Invitation not sent) - Correct colouring of message (new .description-error class) - Correctly display lastLogin time - Add colour classes
19 lines
559 B
Handlebars
19 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.lastLogin}}</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>
|