X-Git-Url: https://git.mdrn.pl/fnpeditor.git/blobdiff_plain/f372f2a7ad1cf8d0c9320559d406a1df4ea53a12..42137454f5546e6346ff24374cba0394174321d2:/modules/nodeFamilyTree/template.html diff --git a/modules/nodeFamilyTree/template.html b/modules/nodeFamilyTree/template.html index 021709a..9bccfc3 100644 --- a/modules/nodeFamilyTree/template.html +++ b/modules/nodeFamilyTree/template.html @@ -1,19 +1,19 @@ -<div class="rng-module-nodeFamilyTree"> - <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> - </tr> - <tr> - <td rowspan="0">poniżej</td> - <td> - <ul> - <% if(!children || children.length === 0) { %>-<% } else { %> - <% children.forEach(function(child) { %> - <li><a href="#" data-id="<%= child.id %>"><%= child.repr %></a></li> - <% }); %> - <% } %> - </ul> - </td> - </tr> +<div class="rng-module-nodeFamilyTree"> + <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> + </tr> + <tr> + <td rowspan="0">poniżej</td> + <td> + <ul> + <% if(!children || children.length === 0) { %>-<% } else { %> + <% children.forEach(function(child) { %> + <li><% if(child.bold) { %><strong><% } %><a href="#"><%= child.repr %></a><% if(child.bold) { %></strong><% } %></li> + <% }); %> + <% } %> + </ul> + </td> + </tr> </div> \ No newline at end of file