about summary refs log tree commit diff
path: root/gn2/wqflask/templates/oauth2/view-resource.html
diff options
context:
space:
mode:
authorFrederick Muriuki Muriithi2024-06-10 12:34:12 -0500
committerAlexander_Kabui2024-08-28 15:02:45 +0300
commit8d25673a2256e1fb0a45d62e582865bcfd84ec35 (patch)
tree35f52012dd1098b21d0b24a373fe6b25aebef04e /gn2/wqflask/templates/oauth2/view-resource.html
parenta4d148887f8618f4b21748d32c17109dcff95404 (diff)
downloadgenenetwork2-8d25673a2256e1fb0a45d62e582865bcfd84ec35.tar.gz
Implement "Resource Role Page"
Show the page, providing all UI elements necessary, even if the
elements themselves are not active.
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%}