bloodhound-trac / trac / versioncontrol / templates / path_links.html

<div xmlns=""
     xmlns:py="" py:strip="">
  <!--!  Display 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
<py:if test="path_links">
<!--! <realm>: -->
<a class="pathentry first" href="${path_links[0].href}"
   title="${_('Go to repository index') if reponame else _('Go to repository root')}">${path_links[0].name}</a>
<!--! the/path/.../...
  -   Note: in the <py:for>...</py:for> below, we take great care of
  -         not introducing any space character, so that one can easily
  -         copy the path to the clipboard.
<py:for each="idx, part in enumerate(path_links[1:])"><py:with
  vars="last = idx == len(path_links) - 2"><a
    class="pathentry" href="$part.href"
    title="${_('View %(name)s',}">$</a><py:if
      test="not last"><span class="pathentry sep">/</span></py:if></py:with></py:for>
<py:if test="stickyrev" py:with="drev = display_rev(stickyrev)"><span class="pathentry sep">@</span>
  <a class="pathentry" href="${href.changeset(stickyrev, reponame)}"
     title="${_('View changeset %(rev)s', rev=drev)}">$drev</a>
<br style="clear: both" />

Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.