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