From 0d8cd4af3125f3cd5afdfbfc3c54ba2e1c50843e Mon Sep 17 00:00:00 2001 From: Michael Hawkins Date: Tue, 15 Oct 2019 15:36:01 +0800 Subject: [PATCH] MDL-66372 forumreport_summary: Report template cleanup --- .../report/summary/templates/report.mustache | 20 +++++++------------ 1 file changed, 7 insertions(+), 13 deletions(-) diff --git a/mod/forum/report/summary/templates/report.mustache b/mod/forum/report/summary/templates/report.mustache index ec1a1934d5f..69580b1f8f1 100644 --- a/mod/forum/report/summary/templates/report.mustache +++ b/mod/forum/report/summary/templates/report.mustache @@ -21,19 +21,13 @@ Example context (json): { - "placeholdertext": "To generate the summary report, set any filter values required, then select \"Generate report\".", - "tablehtml": false + "tablehtml": "TableSQL format HTML for the table" } }} -{{! The placeholder text, used before the report has been generated }} -{{^tablehtml}}

{{placeholdertext}}

{{/tablehtml}} - -{{#tablehtml}} -
- {{> core/loading }} -
- -{{/tablehtml}} +
+ {{> core/loading }} +
+