diff options
author | BonfaceKilz | 2021-11-09 12:05:48 +0300 |
---|---|---|
committer | BonfaceKilz | 2021-11-11 09:32:26 +0300 |
commit | c11ac641592da44a823fdf41c0b81cd7bc7971f1 (patch) | |
tree | a5dc67b79b5d9b95430bc64ac3d248c14e74ada7 | |
parent | 965c25016c25256a1074131ac4c2c79b9ee97161 (diff) | |
download | genenetwork2-c11ac641592da44a823fdf41c0b81cd7bc7971f1.tar.gz |
Update URL for viewing a particular group
-rw-r--r-- | wqflask/wqflask/templates/admin/group_manager.html | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/wqflask/wqflask/templates/admin/group_manager.html b/wqflask/wqflask/templates/admin/group_manager.html index c62cac20..eedfe138 100644 --- a/wqflask/wqflask/templates/admin/group_manager.html +++ b/wqflask/wqflask/templates/admin/group_manager.html @@ -58,11 +58,12 @@ <tr> <td><input type="checkbox" name="group_id" value="{{ group.id }}"></td> <td align="right">{{ loop.index }}</td> - <td><a href="/groups/view?id={{ group.id }}">{{ group.name }}</a></td> + {% set group_url = url_for('group_management.view_group', group_id=group.uuid) %} + <td><a href="{{ group_url }}">{{ group.name }}</a></td> <td align="right">{{ group.admins|length + group.members|length }}</td> <td>{{ group.created_timestamp }}</td> <td>{{ group.changed_timestamp }}</td> - <td>{{ group.id }}</td> + <td>{{ group.uuid }}</td> </tr> {% endfor %} </tbody> @@ -92,7 +93,8 @@ <tr> <td><input type="checkbox" name="read" value="{{ group.id }}"></td> <td>{{ loop.index }}</td> - <td><a href="/groups/view?id={{ group.id }}">{{ group.name }}</a></td> + {% set group_url = url_for('group_management.view_group', group_id=group.uuid) %} + <td><a href="{{ group_url }}">{{ group.name }}</a></td> <td>{{ group.admins|length + group.members|length }}</td> <td>{{ group.created_timestamp }}</td> <td>{{ group.changed_timestamp }}</td> |