-
Bug
-
Resolution: Fixed
-
Major
-
2.9, 3.8
-
MOODLE_29_STABLE, MOODLE_38_STABLE
-
MOODLE_38_STABLE
-
MDL-50346-master -
-
Internationals - 3.8 Sprint 3, Internationals - 3.8 Sprint 4
In MDL-50085 the possibility to use subdirectories in the »templates« directory as been removed. This restriction makes it more difficult to structure templates. Mustache works with partials - it would be helpful to able to use the »partials« directory in the »templates« directory.
At line 106 of »lib/classes/output/mustache_template_finder.php« the test for a »/« has been added.
{{
if (strpos($templatename, '/') !== false)
}}
When I comment out the test subdirectory works again.
Why is this test needed? I don't see the point.
Please remove this restriction again.
- caused a regression
-
MDL-66384 PHP Mustache tokenizer is not fetching full template name for templates in a subdir
- Closed
- has been marked as being related by
-
MDL-67205 Incorrect information in theme/upgrade.txt
- Closed
-
MDL-66192 Allow subdirectories for AMD modules
- Closed
- is blocked by
-
MDL-62497 Add a new transpilation tool for ES6
- Closed