Commit Graph

4 Commits

Author SHA1 Message Date
Damyon Wiese
917bd02be5 MDL-49870 tool_templatelibrary: Allow docs in parent template only.
If the mustache comment containing the docs for the template is
not found in the theme overridden template, search the original
core/plugin template for the docs.
2015-05-06 14:54:56 +08:00
Damyon Wiese
410034eef0 MDL-50085 templates: Minor fixes from peer review
* rename get_filename to get_filepath
* phpdocs fixes
* improve formatting of exceptions
* lang string improvement
2015-05-05 03:19:39 +02:00
Damyon Wiese
fcc383db0f MDL-50085 Mustache : Strictly define the search paths for templates.
This change moves several repeated sections of code that was searching
for templates and valid template locations to a new class. It adds
unit tests for the new class and verifies subsystem support for templates.
2015-05-05 03:19:25 +02:00
Damyon Wiese
274d79c9d5 MDL-49650 tool_templatelibrary: New tool for browsing mustache templates 2015-04-09 11:57:56 +08:00