aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gn2/wqflask/templates/oauth2/view-resource-role.html10
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>
&nbsp;
+ This will delete this role, and you will no longer have access to it.
</p>
+ </div>
+ {%endif%}
{%endif%}
{%endif%}
</div>