Missing templates.
[redakcja.git] / project / templates / explorer / file_tree_part.html
diff --git a/project/templates/explorer/file_tree_part.html b/project/templates/explorer/file_tree_part.html
new file mode 100644 (file)
index 0000000..f65cf28
--- /dev/null
@@ -0,0 +1,13 @@
+{% load explorer_tags %}
+
+<li class="file-tree-entry" title="{{document.name|bookname}}">
+    <a href="{% url editor_view document.name %}">{{ document.name|bookname }}</a>
+    {% if document.parts %}
+    <ul class="file-tree-part">
+        {% for part in document.parts %}
+        {% tree_part part %}
+        {% endfor %}
+    </ul>
+    {% endif %}
+</li>
+