fnp
/
fnpeditor.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
canvas: handle RangeFragments returned from actions - first simplistic take
[fnpeditor.git]
/
src
/
editor
/
modules
/
nodeFamilyTree
/
template.html
diff --git
a/src/editor/modules/nodeFamilyTree/template.html
b/src/editor/modules/nodeFamilyTree/template.html
index
886df06
..
77e5366
100644
(file)
--- a/
src/editor/modules/nodeFamilyTree/template.html
+++ b/
src/editor/modules/nodeFamilyTree/template.html
@@
-2,7
+2,7
@@
<table class="table table-bordered">
<tr>
<td>powyżej</td>
<table class="table table-bordered">
<tr>
<td>powyżej</td>
- <td><% if(parent) { %><a href="#" class="rng-module-nodeFamilyTree-parent"><%= parent.repr %></a><% } else { %>-<% } %></td>
+ <td><% if(parent) { %><a href="#" class="rng-module-nodeFamilyTree-parent"
rng-module-nodeFamilyTree-item-id="<%= parent.id %>"
><%= parent.repr %></a><% } else { %>-<% } %></td>
</tr>
<tr>
<td rowspan="0">poniżej</td>
</tr>
<tr>
<td rowspan="0">poniżej</td>
@@
-10,7
+10,7
@@
<ul>
<% if(!contents || contents.length === 0) { %>-<% } else { %>
<% contents.forEach(function(element) { %>
<ul>
<% if(!contents || contents.length === 0) { %>-<% } else { %>
<% contents.forEach(function(element) { %>
- <li><% if(element.bold) { %><strong><% } %><a href="#"><%= element.repr %></a><% if(element.bold) { %></strong><% } %></li>
+ <li><% if(element.bold) { %><strong><% } %><a
rng-module-nodeFamilyTree-item-id="<%= element.id %>"
href="#"><%= element.repr %></a><% if(element.bold) { %></strong><% } %></li>
<% }); %>
<% } %>
</ul>
<% }); %>
<% } %>
</ul>