about summary refs log tree commit diff
diff options
context:
space:
mode:
authorFrederick Muriuki Muriithi2023-04-27 05:47:20 +0300
committerFrederick Muriuki Muriithi2023-05-08 10:08:17 +0300
commit41b7dfc4237367c6c4c13666964940644e4f8414 (patch)
tree8691a20c2d2644d82d4f8f0851d48ea5e5a058d2
parent1514c7bac7f89a4b29e6abd192336e2ea4575352 (diff)
downloadgenenetwork2-41b7dfc4237367c6c4c13666964940644e4f8414.tar.gz
oauth2: UI - Remove `Edit` element
The `Edit` button was unnecessary, since the `View` button gives the
user access to a UI that allows them to edit the role.
-rw-r--r--wqflask/wqflask/templates/oauth2/list_roles.html9
1 files changed, 1 insertions, 8 deletions
diff --git a/wqflask/wqflask/templates/oauth2/list_roles.html b/wqflask/wqflask/templates/oauth2/list_roles.html
index 08f4debc..fe8d77cf 100644
--- a/wqflask/wqflask/templates/oauth2/list_roles.html
+++ b/wqflask/wqflask/templates/oauth2/list_roles.html
@@ -44,7 +44,7 @@
 	<thead>
 	  <tr>
 	    <th>Role Name</th>
-	    <th colspan="2">Actions</th>
+	    <th colspan="100%">Actions</th>
 	  </tr>
 	</thead>
 	<tbody>
@@ -58,13 +58,6 @@
 		View
 	      </a>
 	    </td>
-	    <td>
-	      <a href="#/edit/role"
-		 title="Edit role {{grole.role.role_name}}"
-		 class="btn btn-warning">
-		Edit
-	      </a>
-	    </td>
 	  </tr>
 	  {%else%}
 	  <tr>