{# Copyright (C) 2008-2023 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 snippet for a table of repositories # include 'dirlist_thead.html' # for repository in repo.repositories: # set reponame, repoinfo, repos, change, err, raw_href = repository # set chgset_context = change and context.child('changeset', change.rev, parent=repos.resource) # set chgset_view = change and change.is_viewable(perm) # if repoinfo.description: # endif # endfor
# set root_dir_link ${ reponame} # endset # set checked_root_dir_link # if err: ${root_dir_link | safe} # else: ${root_dir_link | safe} # endif # endset # if repoinfo.alias == '': ${checked_root_dir_link | safe} # else: ${checked_root_dir_link | safe} # endif # if raw_href: # endif # if change and not err: ${ repos.display_rev(change.rev)}   # endif ${pretty_dateinfo(change.date, dateonly=True) if chgset_view else '–'|safe} ${authorinfo_short(change.author) if chgset_view else '–'|safe} # if err: ${err} # elif chgset_view: # if wiki_format_messages: ${wiki_to_oneliner(chgset_context, change.message, shorten=True)} # else: ${shorten_line(change.message)} # endif # else: – # endif
${ wiki_to_html(context.child('source', '/', parent=repos.resource), repoinfo.description)}