edx/edx-ora2 — pull request #567 by wedaly (2014-07-31 20:39:35+00:00)
Title: Show a warning when the user disables an assessment.

[ORA-718](https://openedx.atlassian.net/browse/ORA-718): No default values in assessment fields for re-enabled assessments.

Show a notification warning when course authors disable an assessment warning them that disabled assessments won't be saved.

@srpearce I'll need some advice on the messaging for this. As a placeholder, I put: "Warning: Changes in disabled assessments will not be saved."

@stephensanchez Please review. Some maybe less-than-optimal consequences of this approach, in the interest of simplifying the implementation:

1) If a *different* notification is being shown (such as student training validation warnings), and the user enables an assessment, that notification will be dismissed.

2) If a user disables self-assessment, then disables peer-assessment, then re-enables self-assessment, the warning will be dismissed.

I figured these are probably okay: I think users will think, "Okay, I'm doing something now, so I don't need to keep seeing the notification." But there's a risk that users will think they've resolved the issue when the notification gets dismissed, even if they haven't.

I'm waiting on some styling changes from another branch before the alert will be displayed properly; there will be a little bit of cleanup work merging those changes into this branch.