2017-02-16 20:12:13 +03:00
|
|
|
<div class="apps-grid-cell">
|
2017-02-17 12:59:57 +03:00
|
|
|
{{#link-to 'team.user' user.slug data-test-user-id=user.id}}
|
2017-02-16 20:12:13 +03:00
|
|
|
<article class="apps-card-app">
|
|
|
|
<div class="apps-card-left">
|
|
|
|
<span class="user-list-item-figure" style={{component.userImageBackground}}>
|
|
|
|
<span class="hidden">Photo of {{user.name}}</span>
|
|
|
|
</span>
|
|
|
|
<div class="apps-card-meta">
|
|
|
|
<h3 class="apps-card-app-title">{{user.name}}</h3>
|
|
|
|
<p class="apps-card-app-desc">Last seen: {{component.lastLoginUTC}}</p>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="apps-card-right">
|
|
|
|
<div class="apps-configured">
|
2017-07-22 00:21:27 +03:00
|
|
|
{{#if user.isLocked}}
|
|
|
|
<span class="gh-badge author">Locked</span>
|
|
|
|
{{/if}}
|
2017-02-16 20:12:13 +03:00
|
|
|
{{#unless session.user.isAuthor}}
|
|
|
|
{{#each user.roles as |role|}}
|
2017-02-17 12:59:57 +03:00
|
|
|
<span class="gh-badge {{role.lowerCaseName}}" data-test-role-name>{{role.name}}</span>
|
2017-02-16 20:12:13 +03:00
|
|
|
{{/each}}
|
|
|
|
{{/unless}}
|
2017-04-07 18:23:45 +03:00
|
|
|
{{inline-svg "arrow-right"}}
|
2017-02-16 20:12:13 +03:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</article>
|
|
|
|
{{/link-to}}
|
2015-06-30 16:21:03 +03:00
|
|
|
</div>
|