From 5dcf587b00288cffa54383fb1f92aadac6036d86 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Luca=20B=C3=B6sch?= Date: Sat, 13 May 2023 01:30:44 +0200 Subject: [PATCH] Show the report's title in Site Administration page fixes #131. --- .github/workflows/ci.yml | 2 +- templates/category.mustache | 12 +++++++----- 2 files changed, 8 insertions(+), 6 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 2634621..6118d34 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -8,7 +8,7 @@ jobs: fail-fast: false matrix: include: - - php: '7.4' + - php: '8.1' moodle-branch: 'master' database: 'pgsql' - php: '7.4' diff --git a/templates/category.mustache b/templates/category.mustache index 65792f2..2a5e042 100644 --- a/templates/category.mustache +++ b/templates/category.mustache @@ -47,8 +47,10 @@ } }} +

{{#str}}pluginname, report_customsql{{/str}}

+
-

+

{{#expandable}} {{name}} {{/expandable}} @@ -68,21 +70,21 @@ {{#showonlythislink}} {{#str}}showonlythiscategory, report_customsql, {{name}}{{/str}} {{/showonlythislink}} -

+
{{#querygroups}} {{#type}} -

+

{{title}} {{{helpicon}}} -

+ {{/type}} {{#queries}} {{{categoryqueryitem}}} {{/queries}} {{/querygroups}} {{^querygroups}} -

{{#str}}availablereports, report_customsql{{/str}}

+

{{#str}}availablereports, report_customsql{{/str}}

{{#str}}noreportsavailable, report_customsql{{/str}}

{{/querygroups}}