diff --git a/plugin/src/main/resources/coverage/coverage-table.jelly b/plugin/src/main/resources/coverage/coverage-table.jelly index 90e99c319..6f5ea195b 100644 --- a/plugin/src/main/resources/coverage/coverage-table.jelly +++ b/plugin/src/main/resources/coverage/coverage-table.jelly @@ -25,7 +25,7 @@
- + @@ -33,7 +33,7 @@
- + @@ -50,7 +50,7 @@
-
${%Please select a file in the table to open the source code}
+
${%select.row}
@@ -58,7 +58,7 @@
-
${%No source code available for this file}
+
${%no.sourcecode}
@@ -67,7 +67,7 @@
- + diff --git a/plugin/src/main/resources/coverage/coverage-table.properties b/plugin/src/main/resources/coverage/coverage-table.properties new file mode 100644 index 000000000..05a680862 --- /dev/null +++ b/plugin/src/main/resources/coverage/coverage-table.properties @@ -0,0 +1,3 @@ +changed.files=Show only changed files +select.row=Please select a file in the table to open the source code +no.sourcecode=No source code available for this file diff --git a/plugin/src/main/webapp/js/view-model.js b/plugin/src/main/webapp/js/view-model.js index 55ac31900..d094e5638 100644 --- a/plugin/src/main/webapp/js/view-model.js +++ b/plugin/src/main/webapp/js/view-model.js @@ -462,7 +462,7 @@ const CoverageChartGenerator = function ($) { initializeSourceCodeSelection('change-coverage'); initializeSourceCodeSelection('indirect-coverage'); - $('input[name="changed"]').on('change', function () { + $('input[id ^= "changed"]').on('change', function () { const showChanged = $(this).prop('checked'); $('table.data-table').each(function () { const table = $(this).DataTable();