fnp
/
fnpeditor.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Refactoring: aliasing requirejs module names
[fnpeditor.git]
/
modules
/
nodeFamilyTree
/
template.html
diff --git
a/modules/nodeFamilyTree/template.html
b/modules/nodeFamilyTree/template.html
index
8a7df5c
..
9bccfc3
100644
(file)
--- a/
modules/nodeFamilyTree/template.html
+++ b/
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"
data-id="<%= parent.id %>"
><%= parent.repr %></a><% } else { %>-<% } %></td>
+ <td><% if(parent) { %><a href="#" class="rng-module-nodeFamilyTree-parent"><%= 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(!children || children.length === 0) { %>-<% } else { %>
<% children.forEach(function(child) { %>
<ul>
<% if(!children || children.length === 0) { %>-<% } else { %>
<% children.forEach(function(child) { %>
- <li><
a href="#" data-id="<%= child.id %>"><%= child.repr %></a
></li>
+ <li><
% if(child.bold) { %><strong><% } %><a href="#"><%= child.repr %></a><% if(child.bold) { %></strong><% } %
></li>
<% }); %>
<% } %>
</ul>
<% }); %>
<% } %>
</ul>