2 This file is part of Moodle - http://moodle.org/
4 Moodle is free software: you can redistribute it and/or modify
5 it under the terms of the GNU General Public License as published by
6 the Free Software Foundation, either version 3 of the License, or
7 (at your option) any later version.
9 Moodle is distributed in the hope that it will be useful,
10 but WITHOUT ANY WARRANTY; without even the implied warranty of
11 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 GNU General Public License for more details.
14 You should have received a copy of the GNU General Public License
15 along with Moodle. If not, see <http://www.gnu.org/licenses/>.
18 @template core/async_restore_progress_row.
20 Moodle Asynchronous restore status table row template.
22 The purpose of this template is to render status
23 table row updates during an asynchronous restore process.
25 Classes required for JS:
28 Data attributes required for JS:
31 Context variables required for this template:
34 Example context (json):
36 "resourcename" : "Mathematics 101",
37 "time": "Tuesday, 26 March 2019, 3:47 PM",
38 "restoreurl": "https://moodle.local/backup/restorefile.php?action=choosebackupfile&filename=backup-moodle2-course-49390-test_course-20190326-1546-nu-nf.mbz&filepath=%2F&component=backup&filearea=course&filecontextid=7945628&contextid=7945628&itemid=0"
41 <td class="cell c0" style="">
42 <a href="{{restoreurl}}">{{resourcename}}</a>
44 <td class="cell c1" style="">{{time}}</td>
45 <td class="cell c2 lastcol" style="">
46 <span class="action-icon">
47 <i class="icon fa fa-check fa-fw " title="{{# str }} successfulrestore, backup {{/ str }}" aria-label="{{# str }} successfulrestore, backup {{/ str }}"></i>