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:
David Balderston 2016-08-05 23:55:01 -07:00 committed by Kevin Ansfield
parent 8e402226d6
commit 8f5d91f0c2
2 changed files with 6 additions and 2 deletions

View File

@ -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 {

View File

@ -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>