-
Improvement
-
Resolution: Fixed
-
Minor
-
3.6
-
MOODLE_36_STABLE
-
MOODLE_38_STABLE
-
MDL-64901-37_block_myoverview_layout_settings -
In block_myoverview, there are three layouts available:
- Card
- List
- Summary
Depending on the local usage scenario, there might be the need to control these available layouts, e.g. disable the summary view if it might overwhelm users or only allow one view to lighten the interface as a whole.
To support these usage scenarios, I propose to have the available layouts configurable as an admin setting.
As this block doesn't have admin settings yet, this will mean:
- Create a new settings page below /admin/category.php?category=blocksettings for the My Overview block
- Add a setting "block_myoverview | layouts" as a multiselect setting.
- This setting has three values:
- Card
- List
- Summary
- All three values are selected by default
- If the admin disables one of these values, the layout isn't listed in the layout dropdown anymore.
- If the admin disables two of these values, the layout selector isn't shown anymore at all and the single enabled layout is delivered.
- If the admin disables all of these values (for whatever reason), the layout selector isn't shown anymore at all and the card layout is delivered as fallback.
- has to be done after
-
MDL-66726 Reflect the fact that block_myoverview is now configurable in the Dashboard user tour
- Closed