aboutsummaryrefslogtreecommitdiff
path: root/wqflask
diff options
context:
space:
mode:
authorBonfaceKilz2021-10-18 12:09:32 +0300
committerBonfaceKilz2021-10-25 14:00:14 +0300
commitf3c17102d2d8fc6be35be237c299a22f0e16a920 (patch)
tree855ace489ae0d037277039b819546ecea47ec2d7 /wqflask
parent948a0b7e3572c39aefd1b18083afc174dcf4a164 (diff)
downloadgenenetwork2-f3c17102d2d8fc6be35be237c299a22f0e16a920.tar.gz
manage_resource: Remove column "Admin" from group permissions table
A group does not have "admin" privileges. Instead, a user can have admin privileges over a particular group.
Diffstat (limited to 'wqflask')
-rw-r--r--wqflask/wqflask/templates/admin/manage_resource.html7
1 files changed, 1 insertions, 6 deletions
diff --git a/wqflask/wqflask/templates/admin/manage_resource.html b/wqflask/wqflask/templates/admin/manage_resource.html
index a970679d..a2ed3538 100644
--- a/wqflask/wqflask/templates/admin/manage_resource.html
+++ b/wqflask/wqflask/templates/admin/manage_resource.html
@@ -78,17 +78,15 @@
<th>Name</th>
<th>Data</th>
<th>Metadata</th>
- <th>Admin</th>
</tr>
</thead>
<tbody>
{% for key, value in resource_info.get('group_masks').items() %}
<tr>
- <td>{{ value.name }}</td>
+ <td>{{ key }}</td>
<td>{{ value.group_name}}</td>
<td>{{ value.data }}</td>
<td>{{ value.metadata }}</td>
- <td>{{ value.admin }}</td>
</tr>
{% endfor %}
</tbody>
@@ -101,12 +99,9 @@
</form>
</div>
-
-
<!-- End of body -->
{% endblock %}
-
{% block js %}
<script language="javascript" type="text/javascript" src="{{ url_for('js', filename='DataTables/js/jquery.dataTables.min.js') }}"></script>