summaryrefslogtreecommitdiffstats
path: root/ogcp/views.py
diff options
context:
space:
mode:
Diffstat (limited to 'ogcp/views.py')
-rw-r--r--ogcp/views.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/ogcp/views.py b/ogcp/views.py
index 5be8647..4e444f3 100644
--- a/ogcp/views.py
+++ b/ogcp/views.py
@@ -445,7 +445,8 @@ def scopes_tree():
params = request.args.to_dict()
server = get_server_from_ip_port(params['server'])
scopes = get_scopes_from_server(server)
- return render_template('tree.html', scopes=scopes)
+ return render_template('tree.html', scopes=scopes,
+ parent_server=server.name)
@app.route('/scopes/')