MDL-71252 completion: Avoid showing the 'Mark as done' button
commitd3dc55b4d5262c04d3ad789752adc86cfb628ab0
authorHuong Nguyen <huongn@moodle.com>
Wed, 21 Apr 2021 07:32:40 +0000 (21 14:32 +0700)
committerHuong Nguyen <huongn@moodle.com>
Mon, 26 Apr 2021 07:25:31 +0000 (26 14:25 +0700)
treecdd4667e1fd586f2b7422bcf31e87a8b6bf27654
parentfe04d078a49a1f239e85c346435bf3484aff21a3
MDL-71252 completion: Avoid showing the 'Mark as done' button

The following activites will be applied:
 - Label
 - File (Force download/Open/In pop-up)
 - URL (Open/In pop-up)
15 files changed:
completion/classes/activity_custom_completion.php
completion/classes/cm_completion_details.php
completion/tests/behat/behat_completion.php
course/classes/output/activity_information.php
course/templates/activity_info.mustache
mod/assign/tests/behat/assign_activity_completion.feature [new file with mode: 0644]
mod/label/classes/completion/custom_completion.php [new file with mode: 0644]
mod/label/tests/behat/label_activity_completion.feature [new file with mode: 0644]
mod/page/tests/behat/page_activity_completion.feature
mod/resource/classes/completion/custom_completion.php [new file with mode: 0644]
mod/resource/lib.php
mod/resource/tests/behat/resource_activity_completion.feature [new file with mode: 0644]
mod/url/classes/completion/custom_completion.php [new file with mode: 0644]
mod/url/lib.php
mod/url/tests/behat/url_activity_completion.feature