{# 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/. #} {# Displays a sequence of path components. Each component is a link to the corresponding location in the browser. We expect the following variables to be available in the calling context: * `path_links`, a list of dicts each having the following keys: * `name`, the path component name * `href`, a link pointing to this path * `stickyrev`, the optional revision information to show * `reponame`, the optional repository name #} # if path_links: ## the realm: ${path_links[0].name} {# the/path/.../... Note: in the `for` loop below, we take great care of not introducing any space characters, so that one can easily copy the path to the clipboard. #} #- for part in path_links[1:]: ${part.name}{% if not loop.last %}/{% endif %} #- endfor #- endif # if stickyrev: # with drev = display_rev(stickyrev) @ ${drev} # endwith # endif
## jinjacheck: "(a a span span a br )" OK