Paul Holden
58efa0fa10
MDL-65356 mod_data: update entry editing/deletion to not leak sesskey.
2025-04-10 10:08:23 +07:00
Paul Holden
5c30074d99
MDL-79633 mod_data: correct timemodified tag replacement attribute.
2023-10-09 19:41:12 +01:00
Sara Arjona
16ba7cbe96
MDL-75684 mod_data: Add metadata to templates
...
Each template should display at the top the information about the
user who has created the entry, when it was created and modified.
Apart from that, this commit also includes:
- For the Journal preset, a link on each card entry title has been
added, to open the Single view.
- For the Resources preset, the Author field has been renamed to
"Author of resource" and the Description to "Content".
- For the Resources preset, the Author and Type fields will be
hidden in the List view for small devices.
2022-10-24 13:01:39 +02:00
Sara Arjona
9fbc24898b
MDL-75684 mod_data: Update action icons
...
The edit icon has been replaced from a cog to a pencil.
Besides, the actions icons will be displayed using black colour.
2022-10-24 13:01:39 +02:00
Sara Arjona
31419c1f28
Merge branch 'MDL-75211-master' of https://github.com/ferranrecio/moodle
2022-10-21 09:07:58 +03:00
Jun Pataleta
80d4981d8d
Merge branch 'MDL-75401-master-integration' of https://github.com/ferranrecio/moodle
2022-10-20 18:31:00 +08:00
raortegar
bf5cd9cf98
MDL-75497 mod_data: Review Check existence of field.class.php
2022-10-20 09:14:48 +02:00
Ferran Recio
ed4dcf6dff
MDL-75211 mod_data: show batch select only if delcheck is present
2022-10-19 17:05:29 +02:00
Ferran Recio
8305c1c74d
MDL-75401 mod_data: add sticky footers
2022-10-19 14:51:10 +02:00
Laurent David
e861d7b0ad
MDL-75664 mod_data: Approval status in database entries
...
* Add approval status in the default template.
* Change the language string for unapproved entries.
2022-10-17 09:55:11 +02:00
Jun Pataleta
9299737cbd
MDL-75234 mod_data: Remove duplicate code
...
* Remove duplicate use statements
* Remove duplicate get_template_content() declaration
2022-10-04 12:44:33 +08:00
Jun Pataleta
ecb9a7e661
Merge branch 'MDL-75234-master' of https://github.com/ferranrecio/moodle
2022-10-04 11:59:57 +08:00
Ferran Recio
2a0991113b
MDL-75234 mod_data: load default templates when empty
...
The mod_data is forcing teachers to understand how to write templates
even if they want to use basic forms. With this patch the default
templates will be auto updated unless the user manually define the
templates.
2022-10-03 15:58:28 +02:00
Sara Arjona
6277853eb3
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.
2022-10-03 09:09:45 +02:00
Ferran Recio
2b48b29c86
MDL-75149 mod_data: add preview to presets
2022-09-14 12:30:13 +02:00
Jun Pataleta
2e67835f17
Merge branch 'MDL-75430-master' of https://github.com/raortegar/moodle
2022-09-05 09:37:13 +08:00
Sara Arjona
2acda39537
MDL-75275 mod_data: Add ##actionsmenu## action tag
2022-08-19 08:38:33 +02:00
raortegar
21a8787e50
MDL-75430 mod_data: Fix picture size for list view
...
We were missing the templatename in get_template method of manager.php
2022-08-11 18:09:25 +02:00
Sara Arjona
70d520e1a6
MDL-75390 mod_data: Fix regression when portfolios is enabled
...
This patch fixes a regression that is causing some errors when
portfolios advanced feature is enabled but no portfolio is
enabled.
2022-08-05 16:54:49 +02:00
Ferran Recio
776e48748f
MDL-75146 mod_data: refactor template parser
2022-07-22 07:27:40 +02:00