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_search/index_requests
20 Template to provide admin information about the queue of index requests.
22 Classes required for JS:
25 Data attributes required for JS:
28 Context variables required for this template:
32 Optional context variables for this template:
35 Example context (json):
41 "timerequested": 123456789,
43 "contextlink": "<a href='...'>Forum: Tutor group forum</a>",
44 "searcharea": "mod_forum-activity",
45 "areaname": "Forum activities",
46 "partialarea": "mod_forum-activity",
47 "partialareaname": "Forum activities",
48 "partialtime": 123400000,
59 {{#str}} queueheading, search, {{total}} {{/str}}
61 <table class="generaltable">
64 <th scope="col">{{#str}} context, role {{/str}}</th>
65 <th scope="col">{{#str}} searcharea, search {{/str}}</th>
66 <th scope="col">{{#str}} time {{/str}}</th>
67 <th scope="col">{{#str}} progress, search {{/str}}</th>
68 <th scope="col">{{#str}} priority, search {{/str}}</th>
80 {{#searcharea}} {{areaname}} {{/searcharea}}
82 <td>{{#userdate}} {{timerequested}}, {{#str}} strftimedatetimeshort, core_langconfig {{/str}} {{/userdate}}</td>
88 {{#userdate}} {{partialtime}}, {{#str}} strftimedatetimeshort, core_langconfig {{/str}} {{/userdate}}
104 <td colspan="5">...</td>