metaWidget wip: reacting to class change
[fnpeditor.git] / modules / nodeFamilyTree / template.html
index 021709a..8a7df5c 100644 (file)
@@ -1,19 +1,19 @@
-<div class="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" data-id="<%= parent.id %>"><%= 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><a href="#" data-id="<%= child.id %>"><%= child.repr %></a></li>
+                    <% }); %>
+                <% } %>
+                </ul>
+            </td>
+        </tr>
 </div>
\ No newline at end of file
 </div>
\ No newline at end of file