From b6d9039e8268fd7d0514922c24e037cfc48181b6 Mon Sep 17 00:00:00 2001 From: Francesco Siddi Date: Thu, 4 Apr 2019 15:31:52 +0200 Subject: [PATCH] Add navigation and extension links to /browse --- cloud/routes.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/cloud/routes.py b/cloud/routes.py index 886d405..da133fc 100644 --- a/cloud/routes.py +++ b/cloud/routes.py @@ -24,6 +24,7 @@ from pillar.web.nodes.routes import url_for_node from pillar.web.projects.routes import render_project from pillar.web.projects.routes import find_project_or_404 from pillar.web.projects.routes import project_view +from pillar.web.projects.routes import project_navigation_links from cloud import current_cloud from cloud.forms import FilmProjectForm @@ -508,8 +509,8 @@ def project_browse(project: pillarsdk.Project): show_project=True, browse=True, og_picture=None, - navigation_links=[], - extension_sidebar_links=None,) + navigation_links=project_navigation_links(project, system_util.pillar_api()), + extension_sidebar_links= current_app.extension_sidebar_links(project)) @blueprint.route('/p//browse/nodes')