Make second level navigation for all views in repository controller
We are using redmine for internal project management, and we found it lacking a consistent second level navigation while browsing files, reviewing diffs, etc. under the repositories controller.
This patch moves the navigation originally provided on the "changes" view, into a partial template called _entry_nav.rhtml, expands it to include links for annotation, view, and a link back to the changes view, labelled as "History".
the partial can take an additional variable called current_view which hints to the second level nav which view is currently being shown, so it can hide the irrelevant link.
The patch also moves the navigation provided in the revision view (the next changeset, previous changeset) into a partial called _changeset_nav.rhtml so that it can be used on the 'browse' view, and later could be expanded to be used on the 'entry', 'annotation' etc. view, so one could navigate changesets relevant to that file, providing a temporal navigation to the repositories.
We have found it to be a nice improvement because it is easy to jump from a changeset listing to a file's annotation, diff, view, and history
I built the patch against an svn checkout of the 0.7-stable branch
Updated by Jean-Philippe Lang almost 15 years ago
- Category set to SCM
- Target version deleted (
Updated by Jens Goldhammer about 14 years ago