Ghost/ghost/admin/app/templates/-user-list-item.hbs
Fabian Becker 37235413e8 Fix team/index screen
- 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
2015-07-14 18:21:08 +02:00

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>