[AMOS commit] MDL-42190 workshop: Improve the confirmation of submission removal Committed into Git: 2016-01-21 13:22 UTC

[AMOS commit] MDL-42190 workshop: Improve the confirmation of submission removal Committed into Git: 2016-01-21 13:22 UTC

by AMOS bot -
Number of replies: 0
Author: David Mudrák
MDL-42190 workshop: Improve the confirmation of submission removal
I noticed we do not need to list the names of potentially affected
reviewers. If the user (teacher) has the capability to see other
assessments (which they do in 99%), the list of assessments is displayed
at the confirmation page anyway. If for some reason they do not have the
capability, we should not list the names.

The second fix is that the action buttons (such as Delete or Edit) are
not displayed on the removal confirmation page.

And finally, as the output->confirm() wraps the message with implicit
<p>, it is not valid to pass HTML with any block elements. So instead of
concatenating the two messages, we simply define a new string for this
situation.


http://git.moodle.org/gw?p=moodle.git;a=commit;h=58489e11f1d681e5185d40760f685e073ec55786
http://github.com/moodle/moodle/commit/58489e11f1d681e5185d40760f685e073ec55786

+ 3.1 en [submissiondeleteconfirmassess,mod_workshop]
- 3.1 en [submissiondeleteconfirmteacher,mod_workshop]