{{! This file is part of Moodle - https://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 local_treestudyplan/invitations Template for rendering the invitations page Classes required for JS: * m-action-resend * m-action-confirm * m-action-delete * m-action-view Data attributes required for JS: * data-confirmtext * data-confirmbtn * data-actionhref Context variables required for this template: * none Example context (json): { "invites": array_values($DB->get_records('local_treestudyplan_invit', ['user_id' => $USER->id])), "hasinvites": true, } }}

{{#str}} invite_description, local_treestudyplan {{/str}}

{{#str}} invite_tablecaption, local_treestudyplan {{/str}}

{{#hasinvites}} {{#invites}} {{/invites}} {{/hasinvites}} {{^hasinvites}} {{/hasinvites}}
 {{#str}} invite_name, local_treestudyplan {{/str}} {{#str}} invite_email, local_treestudyplan {{/str}} {{#str}} invite_date, local_treestudyplan {{/str}}  
{{name}} {{email}} {{#userdate}} {{idate}}, %x {{/userdate}}
{{#str}} invite_table_empty, local_treestudyplan {{/str}}
{{#str}} invite_button_new, local_treestudyplan {{/str}}