fix permissions table

pull/5395/head
Karl Prieb 9 years ago
parent a9d087c7a7
commit 9a92cf9248
  1. 14
      packages/rocketchat-authorization/client/views/permissions.html

@ -2,12 +2,12 @@
<div class="permissions-manager">
{{#if hasPermission}}
<a href="{{pathFor "admin-permissions-new"}}" class="button primary new-role">{{_ "New_role"}}</a>
<table border="1" class="permission-grid">
<thead>
<table border="1" class="permission-grid secondary-background-color">
<thead class="content-background-color">
<tr>
<th>&nbsp;</th>
<th class="border-component-color">&nbsp;</th>
{{#each role}}
<th title="{{description}}">
<th class="border-component-color" title="{{description}}">
<a href="{{pathFor "admin-permissions-edit" name=_id}}">
{{_id}}
<i class="icon-edit"></i>
@ -18,10 +18,10 @@
</thead>
<tbody>
{{#each permission}}
<tr>
<td>{{_id}}</td>
<tr class="admin-table-row">
<td class="border-component-color">{{_id}}</td>
{{#each role}}
<td>
<td class="border-component-color">
<input type="checkbox" name="perm[{{_id}}][{{../_id}}]" class="role-permission" value="1" checked="{{granted ../roles}}" data-role="{{_id}}" data-permission="{{../_id}}">
</td>
{{/each}}

Loading…
Cancel
Save