fnp
/
fnpeditor.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Basic list items extracting
[fnpeditor.git]
/
modules
/
nodeBreadCrumbs
/
template.html
diff --git
a/modules/nodeBreadCrumbs/template.html
b/modules/nodeBreadCrumbs/template.html
index
1662fcf
..
2d980c3
100644
(file)
--- a/
modules/nodeBreadCrumbs/template.html
+++ b/
modules/nodeBreadCrumbs/template.html
@@
-2,9
+2,9
@@
<ul class="breadcrumb">
<% if(node && parents) { %>
<% for(var i = parents.length - 1; i >= 0; i--) { %>
<ul class="breadcrumb">
<% if(node && parents) { %>
<% for(var i = parents.length - 1; i >= 0; i--) { %>
- <li><a href="#" data-id="<%= parents[i].get
Attribute('id') %>"> <%= parents[i].getAttribute('wlxml-tag') %><% if(parents[i].getAttribute('wlxml-class')) { %>.<%= parents[i].getAttribute('wlxml-class'
) %> <% } %></a><span class="divider">/</span></li>
+ <li><a href="#" data-id="<%= parents[i].get
Id() %>"> <%= parents[i].getTag() %><% if(parents[i].getClass()) { %>.<%= parents[i].getClass(
) %> <% } %></a><span class="divider">/</span></li>
<% } %>
<% } %>
- <li class="active"><span data-id="<%= node.
attr('id') %>"><%= node.attr('wlxml-tag') %><% if(node.attr('wlxml-class')) { %>.<%= node.attr('wlxml-class'
) %> <% } %></span></li>
+ <li class="active"><span data-id="<%= node.
getId() %>"><%= node.getTag() %><% if(node.getClass()) { %>.<%= node.getClass(
) %> <% } %></span></li>
<% } %>
</ul>
</div>
\ No newline at end of file
<% } %>
</ul>
</div>
\ No newline at end of file