FIX: Selecting one user in admin would select them all

This commit is contained in:
Robin Ward 2014-12-02 15:30:57 -05:00
parent 67c4c90159
commit 008337b018
2 changed files with 3 additions and 3 deletions

View File

@ -42,11 +42,11 @@
</tr>
{{#each user in model}}
<tr {{bind-attr class="selected user.active::not-activated"}}>
<tr {{bind-attr class="user.selected user.active::not-activated"}}>
{{#if controller.showApproval}}
<td>
{{#if user.can_approve}}
{{input type="checkbox" checked=selected}}
{{input type="checkbox" checked=user.selected}}
{{/if}}
</td>
{{/if}}

View File

@ -10,7 +10,7 @@
th {border-top: 1px solid scale-color-diff();}
td {border-bottom: 1px solid scale-color-diff(); border-top: 1px solid scale-color-diff();}
tr:hover { background-color: darken($secondary, 2.5%); }
tr.selected { background-color: lighten($primary, 50%); }
tr.selected { background-color: lighten($primary, 80%); }
.filters input { margin-bottom: 0; }
}