diff options
author | Frederick Muriuki Muriithi | 2024-06-11 11:34:21 -0500 |
---|---|---|
committer | Frederick Muriuki Muriithi | 2024-06-11 11:35:08 -0500 |
commit | 999489a44405664d1d289158763474dae0b99297 (patch) | |
tree | a159b4b488737c6879eac44db610711bd2f04f5f /gn2 | |
parent | 8f82e6348a531dc17cff12a3fb8b401d99ff4138 (diff) | |
download | genenetwork2-999489a44405664d1d289158763474dae0b99297.tar.gz |
Provide UI to delete role.
Diffstat (limited to 'gn2')
-rw-r--r-- | gn2/wqflask/templates/oauth2/view-resource-role.html | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/gn2/wqflask/templates/oauth2/view-resource-role.html b/gn2/wqflask/templates/oauth2/view-resource-role.html index 57008f44..4bd0ab45 100644 --- a/gn2/wqflask/templates/oauth2/view-resource-role.html +++ b/gn2/wqflask/templates/oauth2/view-resource-role.html @@ -130,8 +130,18 @@ </table> </div> {%endif%} + + {%if users is defined and users | length == 0%} + <div class="row"> + <h3>Delete this role</h3> + <p class="text-danger"> + <strong>Delete Role</strong>: + <span class="glyphicon glyphicon-exclamation-sign text-danger"></span> + This will delete this role, and you will no longer have access to it. </p> + </div> + {%endif%} {%endif%} {%endif%} </div> |