Commit b019bdfa authored by Vidjil Team's avatar Vidjil Team
Browse files

patient/permission.html: add 'id' column

parent c65c19d9
......@@ -8,7 +8,8 @@
<div id="db_table_container">
<table class="db_table" id="table">
<thead>
<tr><td class="column_200"> group / user</td>
<tr><td class="column1"></td>
<td class="column_200"> group / user</td>
<td> </td>
<td class="column1"> read</td>
<td class="column1"> admin</td>
......@@ -18,7 +19,7 @@
{{admin = auth.has_permission("admin", "patient", request.vars["id"], auth.user.id)}}
{{ for row in query :}}
<tr>
<td> {{=row.owner}} </td>
<td> {{=row.id}} </td><td> {{=row.owner}} </td>
<td></td>
{{if admin :}}
<td> <input type="checkbox" onclick="db.call('patient/change_permission', {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment