Menu

Commit [r6464]  Maximize  Restore  History

MultipleRepositorySupport: merge the repository index in the browser template.

This enables us to show at the same time the list of repositories and the top-level entries of the default repository (if any). All those "paths" are visible at the root, so it makes sense to display them all together.

Not to mention that the '''(default)''' repository link in the previous approach can't really be made to work.

Another benefit from this approach is that it's possible to browse in-place across all repositories (and in this case, browsing the default repository works... magic!).

cboos 2008-02-03

changed /sandbox/multirepos/trac/htdocs/css/trac.css
changed /sandbox/multirepos/trac/versioncontrol/templates/browser.html
changed /sandbox/multirepos/trac/versioncontrol/templates/dir_entries.html
removed /sandbox/multirepos/trac/versioncontrol/templates/repository_index.html
changed /sandbox/multirepos/trac/versioncontrol/web_ui/browser.py
/sandbox/multirepos/trac/htdocs/css/trac.css Diff Switch to side-by-side view
Loading...
/sandbox/multirepos/trac/versioncontrol/templates/browser.html Diff Switch to side-by-side view
Loading...
/sandbox/multirepos/trac/versioncontrol/templates/dir_entries.html Diff Switch to side-by-side view
Loading...
/sandbox/multirepos/trac/versioncontrol/web_ui/browser.py Diff Switch to side-by-side view
Loading...