edx/edx-platform — pull request #3629 by jrbl (2014-05-06 22:38:26+00:00)
Title: Fix dashboard template around final grade status

* ae8847cd6e73 checked in buggy conditional in the dashboard templates that caused an empty 'details being wrapped up' box to display regardless of whether it was true.
* Simplify conditional so that we care only whether output of the view's _cert_info() says 'processing', which should be the value computed when either no cert status exists or when the certs are, in fact processing. This should mean that the "details being wrapped up" message is displayed when certs haven't run and the grade box is displayed the rest of the time.

@adampalay and @dianakhuang please.

The thing that makes this more complicated to understand than first impressions is that the cert_status values 'processing', 'ready', etc. are only loosely related to the the user's actual certificate status. This value is actually computed by common/djangoapps/student/views.py:290:_cert_info(), which longs for cleanup.