Bug #6547

peer assessment: closing attempt for user: bad notification
Start date:
12/08/2013
Due date:
% Done:
0%
Estimated time:
Complexity:
Normal
Description
after closing an attempt for a user: the notification is empty and in failure-style (red), however, the lock in the status table is activated (screenshot)
Files
History
Updated by Anonymous over 7 years ago
resolved:
changed file repository/content_object/peer_assessment/php/lib/complex_display/component/user_attempt_closed_toggler.class.php line 24
to
$this->redirect(Translation :: get($success ? 'ToggleAttemptSuccess' : 'ToggleAttemtFailure'), !$success, array(
added two messages (success and failure), and changed $success parameter to its negation, to obtain correct status message (second parameter is $error_message (boolean))