MDL-75276 mod_data: Update default templates
commit6277853eb36bafc8241949c0089b371a5d7c8820
authorSara Arjona <sara@moodle.com>
Fri, 26 Aug 2022 14:46:14 +0000 (26 16:46 +0200)
committerSara Arjona <sara@moodle.com>
Mon, 3 Oct 2022 07:09:45 +0000 (3 09:09 +0200)
treebce7640f617f158f893acf0dc3f1f97c74244322
parent24f97edd91e54a492069c3f4192f7951ad8e3109
MDL-75276 mod_data: Update default templates

Apart from updating the default templates, to make them look better,
they have been also moved to mustache files, in order to make it easier
to edit them.
17 files changed:
mod/data/classes/manager.php
mod/data/classes/output/defaulttemplate.php [new file with mode: 0644]
mod/data/classes/template.php
mod/data/lang/en/data.php
mod/data/lib.php
mod/data/renderer.php
mod/data/styles.css
mod/data/templates/defaulttemplate_addtemplate.mustache [new file with mode: 0644]
mod/data/templates/defaulttemplate_asearchtemplate.mustache [new file with mode: 0644]
mod/data/templates/defaulttemplate_listtemplate.mustache [new file with mode: 0644]
mod/data/templates/defaulttemplate_rsstemplate.mustache [new file with mode: 0644]
mod/data/templates/defaulttemplate_singletemplate.mustache [new file with mode: 0644]
mod/data/tests/behat/add_entries.feature
mod/data/tests/behat/manageapproved.feature
mod/data/tests/behat/required_entries.feature
mod/data/tests/behat/view_entries.feature
mod/data/tests/lib_test.php