mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-25 20:03:12 +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;
|
||||
}
|
||||
|
||||
.user-list-item-aside .user-list-action:not(:first-of-type) {
|
||||
margin-left: 20px;
|
||||
.user-list-item-aside .user-list-action {
|
||||
float: left;
|
||||
margin-right: 20px;
|
||||
}
|
||||
|
||||
.user-list-item-aside .role-label {
|
||||
|
@ -52,6 +52,9 @@
|
||||
<a class="user-list-action" href="#" {{action "resend" target=component}}>
|
||||
Resend
|
||||
</a>
|
||||
{{#each user.roles as |role|}}
|
||||
<span class="role-label {{role.lowerCaseName}}">{{role.name}}</span>
|
||||
{{/each}}
|
||||
{{/if}}
|
||||
</aside>
|
||||
</div>
|
||||
|
Loading…
Reference in New Issue
Block a user