Project

General

Profile

Actions

Patch #1601

open

Make second level navigation for all views in repository controller

Added by Bradley Whittington over 15 years ago. Updated almost 15 years ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
SCM
Target version:
-
Start date:
2008-07-08
Due date:
% Done:

0%

Estimated time:

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


Files

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

Related issues

Related to Redmine - Patch #2144: Patch for main-level repositoryClosedJean-Philippe Lang2008-11-072008-11-07

Actions
Related to Redmine - Feature #1311: Subversion: Show revision histories for branchesNew2008-05-27

Actions
Actions #1

Updated by Jean-Philippe Lang over 15 years ago

  • Category set to SCM
  • Target version deleted (0.7)
Actions #2

Updated by Jens Goldhammer almost 15 years ago

+1

Actions

Also available in: Atom PDF