clean-up
[qcg-portal.git] / filex / templates / filex / source.js.html
index 311acb7..9457298 100644 (file)
     });
 </script>
 
-<script type="text/template" id="path-bit-template">
-    <a href="#"><%= name %></a>
-</script>
-
 <script type="text/template" id="dir-template">
     <td class="text-center">
         <label for="dir-<%= cid %>" class="sr-only">Zaznacz katalog <%= name %></label>
         <input id="dir-<%= cid %>" type="checkbox" autocomplete="off">
     </td>
     <td class="text-center"><span class="glyphicon glyphicon-folder-open" aria-hidden="true"></span></td>
-    <td><a class="link" href="#"><%= name %></a></td>
+    <td><a class="link" href="#<%= url %>"><%= name %></a></td>
     <td class="text-right"><%= size %></td>
     <td><%= date %></td>
 </script>
@@ -34,7 +30,7 @@
     </td>
     <td class="text-center"><span class="glyphicon glyphicon-file" aria-hidden="true"></span></td>
     <td>
-        <a class="link" href="{% url 'filex:download' %}?<%= url_params %>"><%= name %></a>
+        <a class="link" href="{% url 'filex:download' %}?<%= params %>"><%= name %></a>
     </td>
     <td class="text-right"><%= size %></td>
     <td><%= date %></td>