more user friendly toolbar labels
[fnpeditor.git] / modules / nodeFamilyTree / template.html
index 252d234..9bccfc3 100644 (file)
@@ -1,19 +1,19 @@
-<div id="rng-module-nodeFamilyTree">\r
-    <table class="table table-bordered">\r
-        <tr>\r
-            <td>powyżej</td>\r
-            <td><% if(parent) { %><a href="#" class="rng-module-nodeFamilyTree-parent" data-id="<%= parent.id %>"><%= parent.repr %></a><% } else { %>-<% } %></td>\r
-        </tr>\r
-        <tr>\r
-            <td rowspan="0">poniżej</td>\r
-            <td>\r
-                <ul>\r
-                <% if(!children || children.length === 0) { %>-<% } else { %>\r
-                    <% children.forEach(function(child) { %>\r
-                        <li><a href="#" data-id="<%= child.id %>"><%= child.repr %></a></li>\r
-                    <% }); %>\r
-                <% } %>\r
-                </ul>\r
-            </td>\r
-        </tr>\r
+<div class="rng-module-nodeFamilyTree">
+    <table class="table table-bordered">
+        <tr>
+            <td>powyżej</td>
+            <td><% if(parent) { %><a href="#" class="rng-module-nodeFamilyTree-parent"><%= parent.repr %></a><% } else { %>-<% } %></td>
+        </tr>
+        <tr>
+            <td rowspan="0">poniżej</td>
+            <td>
+                <ul>
+                <% if(!children || children.length === 0) { %>-<% } else { %>
+                    <% children.forEach(function(child) { %>
+                        <li><% if(child.bold) { %><strong><% } %><a href="#"><%= child.repr %></a><% if(child.bold) { %></strong><% } %></li>
+                    <% }); %>
+                <% } %>
+                </ul>
+            </td>
+        </tr>
 </div>
\ No newline at end of file