X-Git-Url: https://git.mdrn.pl/fnpeditor.git/blobdiff_plain/efe36f4f1b5df351eeb4d40a54c3900cf9a7079b..e1dee375c870a1771d87701c497b8c1734be6b8a:/src/editor/modules/nodeFamilyTree/template.html?ds=inline diff --git a/src/editor/modules/nodeFamilyTree/template.html b/src/editor/modules/nodeFamilyTree/template.html index 9bccfc3..77e5366 100644 --- a/src/editor/modules/nodeFamilyTree/template.html +++ b/src/editor/modules/nodeFamilyTree/template.html @@ -2,15 +2,15 @@ - +
powyżej<% if(parent) { %><%= parent.repr %><% } else { %>-<% } %><% if(parent) { %><%= parent.repr %><% } else { %>-<% } %>
poniżej
    - <% if(!children || children.length === 0) { %>-<% } else { %> - <% children.forEach(function(child) { %> -
  • <% if(child.bold) { %><% } %><%= child.repr %><% if(child.bold) { %><% } %>
  • + <% if(!contents || contents.length === 0) { %>-<% } else { %> + <% contents.forEach(function(element) { %> +
  • <% if(element.bold) { %><% } %><%= element.repr %><% if(element.bold) { %><% } %>
  • <% }); %> <% } %>