Skip to content

Commit a797d66

Browse files
committed
Make codechecker happy
1 parent 6dc0d33 commit a797d66

4 files changed

+17
-17
lines changed

amd/build/snippetsdetailsmodal.min.js

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

amd/build/snippetsdetailsmodal.min.js.map

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

amd/src/snippetsdetailsmodal.js

+3-3
Original file line numberDiff line numberDiff line change
@@ -68,9 +68,9 @@ const buildModal = async(element) => {
6868
title: element.getAttribute('data-title'),
6969
description: element.getAttribute('data-description'),
7070
image: element.getAttribute('data-image'),
71-
source_badge: element.getAttribute('data-source-badge'),
72-
goal_badge: element.getAttribute('data-goal-badge'),
73-
scope_badge: element.getAttribute('data-scope-badge'),
71+
sourcebadge: element.getAttribute('data-source-badge'),
72+
goalbadge: element.getAttribute('data-goal-badge'),
73+
scopebadge: element.getAttribute('data-scope-badge'),
7474
creator: element.getAttribute('data-creator'),
7575
usagenote: element.getAttribute('data-usagenote'),
7676
id: element.getAttribute('data-id'),

templates/snippetsdetailsmodal.mustache

+12-12
Original file line numberDiff line numberDiff line change
@@ -20,9 +20,9 @@
2020
{
2121
"description": "Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet.",
2222
"image": "https://raw.githubusercontent.com/moodle-an-hochschulen/moodle-theme_boost_union/main/pix/screenshot.png",
23-
"goal_badge": "<span class="badge bg-primary text-light">Bugfix</span>",
24-
"scope_badge": "<span class="badge bg-primary text-light">Global</span>",
25-
"source_badge": "<span class="badge bg-primary text-light">Boost Union built-in</span>",
23+
"goalbadge": "<span class="badge bg-primary text-light">Bugfix</span>",
24+
"scopebadge": "<span class="badge bg-primary text-light">Global</span>",
25+
"sourcebadge": "<span class="badge bg-primary text-light">Boost Union built-in</span>",
2626
"code": "body { color: red; }",
2727
"id": 42
2828
}
@@ -55,24 +55,24 @@
5555
<td>{{{creator}}}</td>
5656
</tr>
5757
{{/creator}}
58-
{{#source_badge}}
58+
{{#sourcebadge}}
5959
<tr>
6060
<th scope="row">{{#str}}snippetssource, theme_boost_union{{/str}}</th>
61-
<td>{{{source_badge}}}</td>
61+
<td>{{{sourcebadge}}}</td>
6262
</tr>
63-
{{/source_badge}}
64-
{{#goal_badge}}
63+
{{/sourcebadge}}
64+
{{#goalbadge}}
6565
<tr>
6666
<th scope="row">{{#str}}snippetsgoal, theme_boost_union{{/str}}</th>
67-
<td>{{{goal_badge}}}</td>
67+
<td>{{{goalbadge}}}</td>
6868
</tr>
69-
{{/goal_badge}}
70-
{{#scope_badge}}
69+
{{/goalbadge}}
70+
{{#scopebadge}}
7171
<tr>
7272
<th scope="row">{{#str}}snippetsscope, theme_boost_union{{/str}}</th>
73-
<td>{{{scope_badge}}}</td>
73+
<td>{{{scopebadge}}}</td>
7474
</tr>
75-
{{/scope_badge}}
75+
{{/scopebadge}}
7676
</tbody>
7777
</table>
7878
{{#code}}

0 commit comments

Comments
 (0)