X-Git-Url: https://git.mdrn.pl/redakcja.git/blobdiff_plain/37c9ca34d7edb368cd080149cea73221a8d29f90..30da6af1f8550bbf8c52a21e5741661a15da8663:/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