X-Git-Url: https://git.mdrn.pl/fnpeditor.git/blobdiff_plain/efe36f4f1b5df351eeb4d40a54c3900cf9a7079b..4a1c68596333765b36f36a9cf88942f90c20efab:/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) { %><% } %>
  • <% }); %> <% } %>