fnp
/
fnpeditor.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Custom wlxml tag/class names in breadcrumbs and familytree
[fnpeditor.git]
/
modules
/
nodeBreadCrumbs
/
template.html
diff --git
a/modules/nodeBreadCrumbs/template.html
b/modules/nodeBreadCrumbs/template.html
index
6c46613
..
afe44de
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="#"> <%=
parents[i].getWlxmlTag() %><% if(parents[i].getWlxmlClass()) { %>.<%= parents[i].getWlxmlClass()
%> <% } %></a><span class="divider">/</span></li>
+ <li><a href="#"> <%=
tagNames[parents[i].getWlxmlTag()] %><% if(parents[i].getWlxmlClass()) { %>.<%= classNames[parents[i].getWlxmlClass()]
%> <% } %></a><span class="divider">/</span></li>
<% } %>
<% } %>
- <li class="active"><%=
node.getWlxmlTag() %><% if(node.getWlxmlClass()) { %>.<%= node.getWlxmlClass()
%> <% } %></span></li>
+ <li class="active"><%=
tagNames[node.getWlxmlTag()] %><% if(node.getWlxmlClass()) { %>.<%= classNames[node.getWlxmlClass()]
%> <% } %></span></li>
<% } %>
</ul>
</div>
\ No newline at end of file
<% } %>
</ul>
</div>
\ No newline at end of file