From cb0bc477e279cb5049a5909170228344b25f1d98 Mon Sep 17 00:00:00 2001 From: Stephen Bourget Date: Thu, 19 Jan 2017 11:22:00 -0500 Subject: [PATCH] MDL-57728 theme: Fix text display when using tabs --- theme/boost/templates/core/tabtree.mustache | 36 ++++++++++++++++++++- 1 file changed, 35 insertions(+), 1 deletion(-) diff --git a/theme/boost/templates/core/tabtree.mustache b/theme/boost/templates/core/tabtree.mustache index 6cf5366667e..0e281a46573 100644 --- a/theme/boost/templates/core/tabtree.mustache +++ b/theme/boost/templates/core/tabtree.mustache @@ -1,7 +1,41 @@ +{{! + This file is part of Moodle - http://moodle.org/ + + Moodle is free software: you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation, either version 3 of the License, or + (at your option) any later version. + + Moodle is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with Moodle. If not, see . +}} +{{! + @template core/tabtree + + Tab tree. + + Example context (json): + { + "tabs": [{ + "active": "true", + "inactive": "false", + "link": [{ + "link": "http://moodle.org" + }], + "title": "Moodle.org", + "text": "Moodle community" + }] + } +}}