{# Copyright (C) 2006-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/. #} # extends 'layout.html' # block title # if len(path_links) == 1: / # elif len(path_links) == 2: ${path_links[-1].name} # else: # trans basename = path_links[-1].name, dirname = path_links[1:-1]|map(attribute='name')|join('/') ${basename} in ${dirname} # endtrans # endif ${ super() } # endblock title # block head ${ super() } # if file and file.annotate: # elif dir: # endif # endblock head # block content
# if dir or file: # with # set repo_index = repo and repo.repositories # set path_links = none if repo_index else path_links

# if repo_index: ${_("Default Repository")} # endif # include 'path_links.html'

# with full_path = (reponame, path)|reject('none')|map('trim', '/')|join('/') # endwith
# if quickjump_entries:
# endif # if changeset:
# for branch, head in changeset.get_branches() if branch not in ('default', 'master'): ${ branch} # endfor # for tag in changeset.get_tags(): ${tag} # endfor # for bookmark in changeset.get_bookmarks(): ${bookmark} # endfor
# endif # if dir: # include 'dirlist_thead.html' # if 'up' in chrome.links: # endif # include 'dir_entries.html' # if 'up' not in chrome.links and not dir.entries: # endif
../
${_("No files found")}
# endif # if properties or file: # if file: # endif # if properties: # endif # if file: # endif
# with cset, rcset, drev, author, age = ( href.changeset(created_rev, reponame), href.changeset(created_rev, reponame, created_path), display_rev(created_rev), authorinfo(file.changeset.author), pretty_dateinfo(file.changeset.date)) # set last_change_link ${_("Last change")} # endset # set rev_link ${drev} #- endset # if stickyrev: # trans last_change = last_change_link, stickyrev = display_rev(stickyrev), rev = rev_link, author, age ${last_change} on this file since ${stickyrev} was ${rev}, checked in by ${author}, ${age} # endtrans # else: # trans last_change = last_change_link, rev = rev_link, author, age ${last_change} on this file was ${rev}, checked in by ${author}, ${age} # endtrans # endif # endwith
# if wiki_format_messages: ${wiki_to_html(context.child('changeset', file.changeset.rev, parent=repos.resource), file.changeset.message, escape_newlines=True)} # else: ${file.changeset.message} # endif
    # for prop in properties:
  • # macro prop_value(prop) # if prop.value is text: ${prop.value} # else: ${prop.value} # endif # endmacro # if prop.rendered: # if prop.rendered.name: ${ prop.rendered.name} # endif
    ${ prop.rendered.content}
    # else: # set name ${prop.name} # endset # trans name, value = prop_value(prop) Property ${name} set to ${value} # endtrans # endif
  • # endfor
${_("File size:")} ${ pretty_size(file.size)}
# endif # endwith # endif # if dir and path == '/':
${wiki_to_html(context.child('source', '/', parent=repos.resource), repoinfo.description)}
# endif # if repo and repo.repositories:

${_("Repository Index")}

# with repoindex = 'repoindex' # include 'repository_index.html' # endwith # endif # if file and file.preview:
# with preview = file.preview # include 'preview_file.html' # endwith
# endif
# call(note, page) jmacros.wikihelp('TracBrowser'): # trans note, page ${note} See ${page} for help on using the repository browser. # endtrans # endcall
${ super() } # endblock content