{# Copyright (C) 2007-2014 Edgewall Software This software is licensed as described in the file COPYING, which you should have received as part of this distribution. The terms are also available at https://trac.edgewall.org/wiki/TracLicense. This software consists of voluntary contributions made by many individuals. For the exact contribution history, see the revision history and logs, available at https://trac.edgewall.org/. #} ## Template for generating rows corresponding to directory entries # for entry in dir.entries: # set change = dir.changes[entry.created_rev] # set chgset_context = context.child('changeset', change.rev, parent=repos.resource) if change # set chgset_view = change and change.is_viewable(perm) # set isdir = entry.kind == 'dir' ${entry.name} # if entry.content_length is not none: ${ pretty_size(entry.content_length)} # endif # if entry.raw_href: # endif ${ display_rev(entry.created_rev)}   ${pretty_dateinfo(change.date, dateonly=True) if chgset_view else '–'|safe} ${ authorinfo_short(change.author) if chgset_view else '–'|safe} # if chgset_view: # if wiki_format_messages: ${wiki_to_oneliner(chgset_context, change.message, shorten=True)} # else: ${shorten_line(change.message)} # endif # else: – # endif # endfor ## jinjacheck: "(tr )" OK