There are a number of templates in moodle that can not be viewed in Site administration ► Development ► Template library
instead the template source code is displayed. The other problem is that developers copy the incorrect syntax
Templates are:
block_lp/*
core/action_link
core/action_menu_*
core/actions
core/chart
core/chooser*
core/dataformat_selector
core/email*
core/help_icon
core/loading
core/login
core/modal*
core/prevent*
core/select_time
core/skip_links
core_admin/setting_configpasswordunmask (example broken)
core_admin/settings_search_results (example broken)
core_course/modchooser
core_form/editor_textarea
core_grades/*
core_question/qbank_chooser
core_search/result
gradereport_singleview/*
mod_assign/* (some)
mod_forum/* (most of them, mod_forum/forum_post_emaildigestbasic_htmlemail even throws AJAX exception)
mod_lti/* (some)
mod_quiz/question_chooser
report_competency/*
theme_boost/ - all these templates throw exception, we need to fix this in the template library API*
tool_lp/* (many)
tool_templatelibrary/list_templates_page (hehe, recursion )
These templates were introduced in
MDL-55831, MDL-50439, MDL-54987, MDL-55796, MDL-55701, MDL-55517, MDL-55564, MDL-55594, MDL-55564, MDL-55796, MDL-55584, MDL-55797, MDL-55584, MDL-55594, MDL-55797 - fred
MDL-51603, MDL-52990 - brendanheywood
MDL-55727, MDL-55727, MDL-52154 - ryanwyllie
MDL-55402, MDL-55417, MDL-52954, MDL-51043, MDL-55996, MDL-49459 - damyon
MDL-31989 - dmonllao
MDL-52137 - dobedobedoh
I created this issue as an Epic, feel free to add issues to it to fix individual templates.
rajeshtaneja, do you think it is reasonable to add a QA test that would ensure that all templates in the templates library have example context?
- Discovered while testing
-
MDL-56007 Upgrade JQuery UI to 1.12.1 for Moodle 3.2 release
-
- Closed
-
- has a non-specific relationship to
-
MDLSITE-4770 Validate that new mustache templates can be parsed
-
- Resolved
-