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:
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user