X-Git-Url: https://git.mdrn.pl/fnpeditor.git/blobdiff_plain/0214643f72c6aaa8e85eaba2ad27f2ca03ca6401..c213f2e361a934077b98feeacd6ce0f02a601ca5:/modules/nodeFamilyTree/template.html diff --git a/modules/nodeFamilyTree/template.html b/modules/nodeFamilyTree/template.html index 252d234..8a7df5c 100644 --- a/modules/nodeFamilyTree/template.html +++ b/modules/nodeFamilyTree/template.html @@ -1,19 +1,19 @@ -<div id="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" 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> \ No newline at end of file