mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-08-24 00:07:02 -04:00
Go to organisation stub page which will eventually show list of services
This commit is contained in:
@@ -19,6 +19,18 @@ def organisations():
|
||||
)
|
||||
|
||||
|
||||
@main.route("/organisation/<org_id>", methods=['GET'])
|
||||
@login_required
|
||||
@user_has_permissions(admin_override=True)
|
||||
def view_organisation(org_id):
|
||||
org = organisations_client.get_organisation(org_id)
|
||||
|
||||
return render_template(
|
||||
'views/organisations/view-organisation.html',
|
||||
organisation=org
|
||||
)
|
||||
|
||||
|
||||
@main.route("/organisation/<org_id>/edit", methods=['GET', 'POST'])
|
||||
@login_required
|
||||
@user_has_permissions(admin_override=True)
|
||||
|
||||
Reference in New Issue
Block a user