Add the Discarded label for the All My Requests page.

Review Request #1167 — Created Oct. 7, 2009 and submitted

Information

Review Board
master

Reviewers

Add the Discarded label for the All My Requests page.

This introduces a "[Discarded]" label for discarded review requests on the
All My Requests page.

It also localizes the labels, simplifies the code a little, and changes
the logic so that "[Discarded]" will take precedence over "[Draft]" for
non-published review requests.

NOTE: I accidentally committed this, but go ahead and review it and I'll make any necessary changes.
Tested each state and saw what I expected to see.
chipx86
Review request changed

Description:

   

Add the Discarded label for the All My Requests page.

   
   

This introduces a "[Discarded]" label for discarded review requests on the

    All My Requests page.

   
   

It also localizes the labels, simplifies the code a little, and changes

    the logic so that "[Discarded]" will take precedence over "[Draft]" for
    non-published review requests.

   
~  

Fixes bug #1350

  ~

NOTE: I accidentally committed this, but go ahead and review it and I'll make any necessary changes.

david
  1. Just one comment:
  2. reviewboard/reviews/datagrids.py (Diff revision 1)
     
     
    'Draft' should be inside _(). Same for the others below.
  3. 
      
Loading...