Odkomentowanie sortowania obrazków w galerii.
[redakcja.git] / apps / explorer / templatetags / explorer_tags.py
index a797b3a..98af013 100755 (executable)
@@ -11,4 +11,6 @@ def bookname(fileid):
             ' '.join(s.capitalize() for s in part.split('_'))\
         for part in fileid.split('$'))
 
-
+@register.inclusion_tag('explorer/file_tree_part.html')
+def tree_part(document):
+    return {'document': document}
\ No newline at end of file