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.
This commit is contained in:
Sara Arjona
2022-10-24 13:01:39 +02:00
parent e80ec13230
commit 16ba7cbe96
26 changed files with 303 additions and 159 deletions
+2 -3
View File
@@ -167,9 +167,8 @@ class user_picture implements renderable {
public $link = true;
/**
* @var int Size in pixels. Special values are (true/1 = 100px) and
* (false/0 = 35px)
* for backward compatibility.
* @var int Size in pixels. Special values are (true/1 = 100px) and (false/0 = 35px) for backward compatibility.
* Recommended values (supporting user initials too): 16, 35, 64 and 100.
*/
public $size = 35;