Fix display of the "Repository Plan" field.

Review Request #8131 — Created April 27, 2016 and submitted

Information

Review Board
release-2.5.x
1418e5b...

Reviewers

The addition of "fake" repository types regressed the case where a hosting
service has only a single default plan, in which case we don't want to show the
plan row. Because of this regression, the row was being shown, but the
drop-down was empty.

Set up a hosting service that didn't offer different plans. Saw that the
repository plan row disappeared appropriately.

reviewbot
  1. Tool: Pyflakes
    Ignored Files:
        reviewboard/static/rb/js/admin/repositoryform.js
    
    
    
    Tool: PEP8 Style Checker
    Ignored Files:
        reviewboard/static/rb/js/admin/repositoryform.js
    
    
  2. 
      
brennie
  1. Ship It!
  2. 
      
david
Review request changed
Status:
Completed
Change Summary:
Pushed to release-2.5.x (aeeb243)