FIX: Selecting one user in admin would select them all
This commit is contained in:
parent
67c4c90159
commit
008337b018
|
@ -42,11 +42,11 @@
|
||||||
</tr>
|
</tr>
|
||||||
|
|
||||||
{{#each user in model}}
|
{{#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}}
|
{{#if controller.showApproval}}
|
||||||
<td>
|
<td>
|
||||||
{{#if user.can_approve}}
|
{{#if user.can_approve}}
|
||||||
{{input type="checkbox" checked=selected}}
|
{{input type="checkbox" checked=user.selected}}
|
||||||
{{/if}}
|
{{/if}}
|
||||||
</td>
|
</td>
|
||||||
{{/if}}
|
{{/if}}
|
||||||
|
|
|
@ -10,7 +10,7 @@
|
||||||
th {border-top: 1px solid scale-color-diff();}
|
th {border-top: 1px solid scale-color-diff();}
|
||||||
td {border-bottom: 1px solid scale-color-diff(); 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: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; }
|
.filters input { margin-bottom: 0; }
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue