X-Git-Url: https://git.mdrn.pl/fnpeditor.git/blobdiff_plain/efe36f4f1b5df351eeb4d40a54c3900cf9a7079b..11ffa88b49ac21b7000746a5a75ec5528461a0ae:/src/editor/modules/nodeFamilyTree/template.html 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) { %><% } %>
  • <% }); %> <% } %>