Show breadcrumbs in project navigation
Requires Pillar 4499f911.
This commit is contained in:
@@ -98,6 +98,10 @@ link(href="{{ url_for('static_cloud', filename='assets/css/project-main.css') }}
|
|||||||
#project-side-container
|
#project-side-container
|
||||||
|
|
||||||
#project_nav(class="{{ title }}")
|
#project_nav(class="{{ title }}")
|
||||||
|
node-breadcrumbs(node-id="{{ node._id }}")
|
||||||
|
script.
|
||||||
|
new Vue({el:'node-breadcrumbs'});
|
||||||
|
|
||||||
#project_nav-container
|
#project_nav-container
|
||||||
| {% if title != 'about' %}
|
| {% if title != 'about' %}
|
||||||
| {% block project_tree %}
|
| {% block project_tree %}
|
||||||
@@ -351,6 +355,7 @@ script.
|
|||||||
$projectContext.html(dataHtml);
|
$projectContext.html(dataHtml);
|
||||||
})
|
})
|
||||||
.done(function(){
|
.done(function(){
|
||||||
|
pillar.events.Nodes.triggerLoaded(nodeId);
|
||||||
updateUi(nodeId, 'view');
|
updateUi(nodeId, 'view');
|
||||||
})
|
})
|
||||||
.fail(function(dataResponse) {
|
.fail(function(dataResponse) {
|
||||||
|
Reference in New Issue
Block a user