X-Git-Url: https://git.mdrn.pl/fnpeditor.git/blobdiff_plain/a398f2a96740ebe6dd60559d90e74c648e7009af..f17e9178a91a7df96fd252f66e058e880eac8932:/modules/nodeFamilyTree/template.html diff --git a/modules/nodeFamilyTree/template.html b/modules/nodeFamilyTree/template.html index 8a7df5c..9bccfc3 100644 --- a/modules/nodeFamilyTree/template.html +++ b/modules/nodeFamilyTree/template.html @@ -2,7 +2,7 @@ <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> @@ -10,7 +10,7 @@ <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>