Skip to content

Commit

Permalink
Show the report's title in Site Administration page fixes moodleou#131.
Browse files Browse the repository at this point in the history
  • Loading branch information
lucaboesch committed May 16, 2023
1 parent 55b1bcd commit 6def718
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 8 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ jobs:
fail-fast: false
matrix:
include:
- php: '7.4'
- php: '8.1'
moodle-branch: 'master'
database: 'pgsql'
- php: '7.4'
Expand All @@ -23,7 +23,7 @@ jobs:

services:
postgres:
image: postgres:10
image: postgres:13
env:
POSTGRES_USER: 'postgres'
POSTGRES_HOST_AUTH_METHOD: 'trust'
Expand All @@ -36,7 +36,7 @@ jobs:
- 5432:5432

mariadb:
image: mariadb:10.5
image: mariadb:10.6
env:
MYSQL_USER: 'root'
MYSQL_ALLOW_EMPTY_PASSWORD: "true"
Expand Down
12 changes: 7 additions & 5 deletions templates/category.mustache
Original file line number Diff line number Diff line change
Expand Up @@ -47,8 +47,10 @@
}
}}

<h2>{{#str}}pluginname, report_customsql{{/str}}</h2>

<div class="csql_category csql_category{{#expandable}}{{show}}{{/expandable}}">
<h2>
<h3>
{{#expandable}}
<a href="{{linkref}}" class="categoryname">{{name}}</a>
{{/expandable}}
Expand All @@ -68,21 +70,21 @@
{{#showonlythislink}}
<a href="{{url}}" class="view-category">{{#str}}showonlythiscategory, report_customsql, {{name}}{{/str}}</a>
{{/showonlythislink}}
</h2>
</h3>
<div class="csql_category_reports">
{{#querygroups}}
{{#type}}
<h3>
<h4>
{{title}}
{{{helpicon}}}
</h3>
</h4>
{{/type}}
{{#queries}}
{{{categoryqueryitem}}}
{{/queries}}
{{/querygroups}}
{{^querygroups}}
<h3>{{#str}}availablereports, report_customsql{{/str}}</h3>
<h4>{{#str}}availablereports, report_customsql{{/str}}</h4>
<p>{{#str}}noreportsavailable, report_customsql{{/str}}</p>
{{/querygroups}}
</div>
Expand Down

0 comments on commit 6def718

Please sign in to comment.