Refactoring: aliasing requirejs module names
[fnpeditor.git] / modules / nodeFamilyTree / template.html
index 8a7df5c..9bccfc3 100644 (file)
@@ -2,7 +2,7 @@
     <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>
+            <td><% if(parent) { %><a href="#" class="rng-module-nodeFamilyTree-parent"><%= parent.repr %></a><% } else { %>-<% } %></td>
         </tr>
         <tr>
             <td rowspan="0">poniżej</td>
@@ -10,7 +10,7 @@
                 <ul>
                 <% if(!children || children.length === 0) { %>-<% } else { %>
                     <% children.forEach(function(child) { %>
-                        <li><a href="#" data-id="<%= child.id %>"><%= child.repr %></a></li>
+                        <li><% if(child.bold) { %><strong><% } %><a href="#"><%= child.repr %></a><% if(child.bold) { %></strong><% } %></li>
                     <% }); %>
                 <% } %>
                 </ul>