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 5dcf587
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .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 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 5dcf587

Please sign in to comment.