Patch #1601

Make second level navigation for all views in repository controller

Added by Bradley Whittington over 9 years ago. Updated over 8 years ago.

Status:NewStart date:2008-07-08
Priority:NormalDue date:
Assignee:-% Done:

0%

Category:SCM
Target version:-

Description

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

consistent_repository_navigation.patch Magnifier (10.6 KB) Bradley Whittington, 2008-07-08 14:22


Related issues

Related to Redmine - Patch #2144: Patch for main-level repository Closed 2008-11-07 2008-11-07
Related to Redmine - Feature #1311: Subversion: Show revision histories for branches New 2008-05-27

History

#1 Updated by Jean-Philippe Lang over 9 years ago

  • Category set to SCM
  • Target version deleted (0.7)

#2 Updated by Jens Goldhammer over 8 years ago

+1

Also available in: Atom PDF