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_backup_progress_row.
20 Moodle Asynchronous backup status table row template.
22 The purpose of this template is to render status
23 table row updates during an asynchronous backup process.
25 Classes required for JS:
28 Data attributes required for JS:
31 Context variables required for this template:
34 Example context (json):
36 "filename": "backup-moodle2-course-49390-test_course-20190326-1546-nu-nf.mbz",
37 "time": "Tuesday, 26 March 2019, 3:47 PM",
39 "fileurl": "https://moodle.local/pluginfile.php/7945628/backup/course/backup-moodle2-course-49390-test_course-20190326-1546-nu-nf.mbz?forcedownload=1",
40 "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"
43 <td class="cell c0" style="">{{filename}}</td>
44 <td class="cell c1" style="">{{time}}</td>
45 <td class="cell c2" style="">{{size}}</td>
46 <td class="cell c3" style=""><a href="{{fileurl}}">{{# str }} download, core {{/ str }}</a></td>
47 <td class="cell c4" style=""><a href="{{restoreurl}}">{{# str }} restore, core {{/ str }}</a></td>
48 <td class="cell c5 lastcol" style="">
49 <span class="action-icon">
50 <i class="icon fa fa-check fa-fw " title="{{# str }} successful, backup {{/ str }}" aria-label="{{# str }} successful, backup {{/ str }}"></i>