mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-26 12:21:36 +03:00
Add User Role to Invited Users (#173)
Closes #7130 * Adds the user role to the invited users template * Adjusts some css to keep the role on the right side
This commit is contained in:
parent
8e402226d6
commit
8f5d91f0c2
@ -116,8 +116,9 @@ a.user-list-item {
|
|||||||
font-size: 12px;
|
font-size: 12px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.user-list-item-aside .user-list-action:not(:first-of-type) {
|
.user-list-item-aside .user-list-action {
|
||||||
margin-left: 20px;
|
float: left;
|
||||||
|
margin-right: 20px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.user-list-item-aside .role-label {
|
.user-list-item-aside .role-label {
|
||||||
|
@ -52,6 +52,9 @@
|
|||||||
<a class="user-list-action" href="#" {{action "resend" target=component}}>
|
<a class="user-list-action" href="#" {{action "resend" target=component}}>
|
||||||
Resend
|
Resend
|
||||||
</a>
|
</a>
|
||||||
|
{{#each user.roles as |role|}}
|
||||||
|
<span class="role-label {{role.lowerCaseName}}">{{role.name}}</span>
|
||||||
|
{{/each}}
|
||||||
{{/if}}
|
{{/if}}
|
||||||
</aside>
|
</aside>
|
||||||
</div>
|
</div>
|
||||||
|
Loading…
Reference in New Issue
Block a user