mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-03 03:55:26 +03:00
c2557fb2a5
no issue - bumped `ember`, `ember-cli`, `ember-data` and related dependencies - bumped yarn.lock sub-dependencies - use new public `router` service in place of the private `-routing` service
29 lines
1.1 KiB
Handlebars
29 lines
1.1 KiB
Handlebars
<div class="apps-grid-cell">
|
|
{{#link-to 'team.user' user.slug data-test-user-id=user.id}}
|
|
<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">
|
|
{{#if user.isLocked}}
|
|
<span class="gh-badge author">Locked</span>
|
|
{{/if}}
|
|
{{#unless session.user.isAuthor}}
|
|
{{#each user.roles as |role|}}
|
|
<span class="gh-badge {{role.lowerCaseName}}" data-test-role-name>{{role.name}}</span>
|
|
{{/each}}
|
|
{{/unless}}
|
|
{{inline-svg "arrow-right"}}
|
|
</div>
|
|
</div>
|
|
</article>
|
|
{{/link-to}}
|
|
</div>
|