aboutsummaryrefslogtreecommitdiff
path: root/gn2/wqflask/templates/oauth2/view-resource.html
diff options
context:
space:
mode:
Diffstat (limited to 'gn2/wqflask/templates/oauth2/view-resource.html')
-rw-r--r--gn2/wqflask/templates/oauth2/view-resource.html6
1 files changed, 5 insertions, 1 deletions
diff --git a/gn2/wqflask/templates/oauth2/view-resource.html b/gn2/wqflask/templates/oauth2/view-resource.html
index 451bfbd7..25cac6ff 100644
--- a/gn2/wqflask/templates/oauth2/view-resource.html
+++ b/gn2/wqflask/templates/oauth2/view-resource.html
@@ -237,7 +237,11 @@
<h3>Available Resource Roles</h3>
<div class="resource_roles">
{%for role in resource_roles%}
- <a class="pill" href="#" title="Role page for role named '{{role.role_name}}'">
+ <a class="pill"
+ href="{{url_for('oauth2.resource.view_resource_role',
+ resource_id=resource.resource_id,
+ role_id=role.role_id)}}"
+ title="Role page for role named '{{role.role_name}}'">
{{role.role_name}}
</a>
{%endfor%}