Current Path : /var/www/ljmtc/cbt/mod/grouptool/templates/ |
Current File : /var/www/ljmtc/cbt/mod/grouptool/templates/registrationnotification.mustache |
{{! This file is part of mod_grouptool for 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 <http://www.gnu.org/licenses/>. }} {{! @template mod_grouptool/registrationnotification Grouptool's notification for registrations. The purpose of this template is to inform the user about his successfull registrations. Classes required for JS: * none Data attributes required for JS: * none Context variables required for this template: * helpicon helpicon displayed besides title * options Array with groupingids & grouping names Example context (json): { "courseurl": "https://example.com/course/view.php?id=5", "course": { "shortname": "Course's short name" }, "coursegrouptoolsurl": "https://example.com/mod/grouptool/index.php?id=5", "grouptoolurl": "https://example.com/mod/grouptool/view.php?id=12", "grouptoolname": "Registration", "groupname": "Group 1" } }} <div class="mod_grouptool_registrationnotification"> <p> <a href="{{courseurl}}">{{course.shortname}}</a> -> <a href="{{coursegrouptoolsurl}}">{{#str}}modulenameplural, grouptool{{/str}}</a> -> <a href="{{grouptoolurl}}">{{grouptoolname}}</a> </p> <hr /> <p> {{#str}}register_you_in_group_successmailhtml, grouptool, { "groupname": {{#quote}}{{groupname}}{{/quote}} }{{/str}} </p> <hr /> </div>