Feature #8254
closed
  
Add previous/next functionality in diffs
 
        
        Added by Theo Chatzimichos over 14 years ago.
        Updated over 6 years ago.
        
  
  
  
  Description
  
  Hello. I'm one of the Gentoo sysadmins. We are considering of migrating from Trac to Redmine for our SVN/Git repositories. The following patch adds a functionality that is already available in Trac (browsing between changesets)
   
 
  
  Files
  
 
  
  
  
  
    
    
    
    
       - Assignee set to johann sebatian
 
   
  
  
    
    
    
    
       - Assignee deleted (johann sebatian)
 
   
  
  
    
    
    
    Looks good. Can I add this to repository?
 
   
  
  
    
    
    
    Azamat Hackimov wrote:
	Looks good. Can I add this to repository?
	No.
@changeset.previous, @changeset.next and :size => 8 are hardcorded.
And, there is no functional test.
 
   
  
  
    
    
    
    
    Because of the improvement made in r16911, we can switch between RepositoriesController#revision page and RepositoriesController#diff page with tabs. So both pages are look like same page. However, RepositoriesController#diff page does not have Prev/Next navigation.
	I think it is very natural for RepositoriesController#diff page to have prev/next navigation.
	"Changes" tab (RepositoriesController#revision):

	"View differences" tab (RepositoriesController#diff):

 
   
  
  
    
    
    
    
       - Related to Feature #26576: Use tabs to switch between file changes and diff of a commit added
 
   
  
  
    
    
    
    
       - Is duplicate of Defect #29730: Previous/Next link on repository page disappear when switching to "View differences" tab added
 
   
  
  
    
    
    
    
       - Status changed from New to Closed
- Resolution set to Duplicate
Implemented by #29730 for Redmine 4.0.0.
 
   
  
 
  
  
 
Also available in:  Atom
  PDF