芝麻web文件管理V1.00
编辑当前文件:/home2/sdektunc/.trash/cepali/report/insights/templates/insight_details.mustache
{{! This file is part of 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
. }} {{! @template report_insights/insight_details Actions panel at the bottom of the assignment grading UI. Classes required for JS: * none Data attributes required for JS: * none Context variables required for this template: * none Example context (json): { "insightname": "Best insight ever", "timecreated": "Thursday, 5 October 2017, 4:16 PM", "timerange": "Monday, 4 September 2017, 6:00 PM to Thursday, 5 October 2017, 12:00 AM", "sampleimage": "
Link
", "sampledescription": "Sample description", "style": "success", "outcomeicon": { "attributes": [ {"name": "src", "value": "https://moodle.org/logo/moodle-logo.svg" } ] }, "predictiondisplayvalue": "This dev will understand it", "calculations": [ { "style": "success", "outcomeicon": { "attributes": [ {"name": "src", "value": "https://moodle.org/logo/moodle-logo.svg" } ] }, "name": "Indicator 1", "displayvalue": "yes" }, { "style": "info", "name": "Indicator 2", "displayvalue": "20%" }, { "style": "", "name": "Indicator 2", "displayvalue": "20%" }, { "style": "warning", "name": "Indicator 2", "displayvalue": "20%" }, { "style": "danger", "name": "Indicator 2", "displayvalue": "20%" } ] } }}
{{insightname}}
{{#showpredicionheading}}
{{#str}}prediction, report_insights{{/str}}:
{{#outcomeicon}} {{> core/pix_icon}} {{/outcomeicon}} {{predictiondisplayvalue}}
{{/showpredicionheading}}
{{#str}}name{{/str}}
{{#str}}actions{{/str}}
{{> report_insights/insight}}
{{#str}}predictiondetails, report_insights{{/str}}
{{#str}}timecreated, report_insights{{/str}}
{{timecreated}}
{{#timerange}}
{{#str}}timerange, report_insights{{/str}}
{{.}}
{{/timerange}}
{{#str}}indicators, report_insights{{/str}}
{{#calculations}}
{{name}}
{{#outcomeicon}}{{> core/pix_icon}}{{/outcomeicon}} {{displayvalue}}
{{/calculations}}
{{#nocalculations}} {{> core/notification_info}} {{/nocalculations}}