X-Git-Url: https://git.mdrn.pl/redakcja.git/blobdiff_plain/1a2a6714d405526c16ac4f0900b6dfb0c4c83b6a..c01328ac5559b3d335a1689599c70aca2781a892:/apps/explorer/templatetags/explorer_tags.py diff --git a/apps/explorer/templatetags/explorer_tags.py b/apps/explorer/templatetags/explorer_tags.py index a797b3a2..98af0136 100755 --- a/apps/explorer/templatetags/explorer_tags.py +++ b/apps/explorer/templatetags/explorer_tags.py @@ -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