diff options
author | Stas Vilchik <vilchiks@gmail.com> | 2014-03-17 17:53:58 +0600 |
---|---|---|
committer | Stas Vilchik <vilchiks@gmail.com> | 2014-03-17 17:54:10 +0600 |
commit | be23543432b96b3fdfd8a0cffaaf56dda0f5f158 (patch) | |
tree | aba6710f149eadcb87d2bdb9edf6075824868192 /sonar-server/src/main/webapp/javascripts | |
parent | aa14b022e5eb4a029f72d9307535d69b9f2fb41d (diff) | |
download | sonarqube-be23543432b96b3fdfd8a0cffaaf56dda0f5f158.tar.gz sonarqube-be23543432b96b3fdfd8a0cffaaf56dda0f5f158.zip |
SONAR-5007 Refactor coding rules list & details
Diffstat (limited to 'sonar-server/src/main/webapp/javascripts')
-rw-r--r-- | sonar-server/src/main/webapp/javascripts/coding-rules/mockjax.coffee | 14 | ||||
-rw-r--r-- | sonar-server/src/main/webapp/javascripts/coding-rules/mockjax.js | 23 |
2 files changed, 25 insertions, 12 deletions
diff --git a/sonar-server/src/main/webapp/javascripts/coding-rules/mockjax.coffee b/sonar-server/src/main/webapp/javascripts/coding-rules/mockjax.coffee index 0b79a6bb09a..e3bf41d9fbe 100644 --- a/sonar-server/src/main/webapp/javascripts/coding-rules/mockjax.coffee +++ b/sonar-server/src/main/webapp/javascripts/coding-rules/mockjax.coffee @@ -61,16 +61,21 @@ define ['jquery.mockjax'], -> 'severity.INFO': 'Info' 'coding_rules.activate_quality_profile': 'Activate Quality Profile' + 'coding_rules.available_since': 'Available Since' 'coding_rules.bulk_change': 'Bulk Change' 'coding_rules.extend_description': 'Extend Description' 'coding_rules.deactivate_quality_profile': 'Deactivate' 'coding_rules.found': 'Found' + 'coding_rules.key': 'Key:' 'coding_rules.new_search': 'New Search' 'coding_rules.no_results': 'No Coding Rules' 'coding_rules.order': 'Order' 'coding_rules.ordered_by': 'Ordered By' 'coding_rules.page': 'Coding Rules' + 'coding_rules.parameters': 'Parameters' + 'coding_rules.parameters.default_value': 'Default Value:' 'coding_rules.quality_profiles': 'Quality Profiles' + 'coding_rules.repository': 'Repository:' 'coding_rules._rules': 'rule(s)' 'coding_rules.select_tag': 'Select Tag' @@ -92,10 +97,6 @@ define ['jquery.mockjax'], -> 'coding_rules.filters.status': 'Status' 'coding_rules.filters.tag': 'Tag' - 'coding_rules.parameters.key': 'Key' - 'coding_rules.parameters.default_value': 'Default Value' - 'coding_rules.parameters.description': 'Description' - 'coding_rules.sort.creation_date': 'Creation Date' 'coding_rules.sort.name': 'Name' @@ -109,26 +110,31 @@ define ['jquery.mockjax'], -> name: 'Array designators "[]" should be located after the type in method signatures' language: 'Java' severity: 'MAJOR' + status: 'DEPRECATED' }, { name: 'Avoid Array Loops' language: 'Java' severity: 'CRITICAL' + status: 'READY' }, { name: 'Bad practice - Abstract class defines covariant compareTo() method' language: 'Java' severity: 'MAJOR' + status: 'READY' }, { name: 'Correctness - Use of class without a hashCode() method in a hashed data structure' language: 'Java' severity: 'MINOR' + status: 'BETA' }, { name: 'Useless Operation On Immutable' language: 'Java' severity: 'MAJOR' + status: 'READY' } ] paging: diff --git a/sonar-server/src/main/webapp/javascripts/coding-rules/mockjax.js b/sonar-server/src/main/webapp/javascripts/coding-rules/mockjax.js index 623c2a80ca9..44442353b37 100644 --- a/sonar-server/src/main/webapp/javascripts/coding-rules/mockjax.js +++ b/sonar-server/src/main/webapp/javascripts/coding-rules/mockjax.js @@ -75,16 +75,21 @@ 'severity.MINOR': 'Minor', 'severity.INFO': 'Info', 'coding_rules.activate_quality_profile': 'Activate Quality Profile', + 'coding_rules.available_since': 'Available Since', 'coding_rules.bulk_change': 'Bulk Change', 'coding_rules.extend_description': 'Extend Description', 'coding_rules.deactivate_quality_profile': 'Deactivate', 'coding_rules.found': 'Found', + 'coding_rules.key': 'Key:', 'coding_rules.new_search': 'New Search', 'coding_rules.no_results': 'No Coding Rules', 'coding_rules.order': 'Order', 'coding_rules.ordered_by': 'Ordered By', 'coding_rules.page': 'Coding Rules', + 'coding_rules.parameters': 'Parameters', + 'coding_rules.parameters.default_value': 'Default Value:', 'coding_rules.quality_profiles': 'Quality Profiles', + 'coding_rules.repository': 'Repository:', 'coding_rules._rules': 'rule(s)', 'coding_rules.select_tag': 'Select Tag', 'coding_rules.filters.availableSince': 'Available Since', @@ -104,9 +109,6 @@ 'coding_rules.filters.severity': 'Severity', 'coding_rules.filters.status': 'Status', 'coding_rules.filters.tag': 'Tag', - 'coding_rules.parameters.key': 'Key', - 'coding_rules.parameters.default_value': 'Default Value', - 'coding_rules.parameters.description': 'Description', 'coding_rules.sort.creation_date': 'Creation Date', 'coding_rules.sort.name': 'Name' } @@ -119,23 +121,28 @@ { name: 'Array designators "[]" should be located after the type in method signatures', language: 'Java', - severity: 'MAJOR' + severity: 'MAJOR', + status: 'DEPRECATED' }, { name: 'Avoid Array Loops', language: 'Java', - severity: 'CRITICAL' + severity: 'CRITICAL', + status: 'READY' }, { name: 'Bad practice - Abstract class defines covariant compareTo() method', language: 'Java', - severity: 'MAJOR' + severity: 'MAJOR', + status: 'READY' }, { name: 'Correctness - Use of class without a hashCode() method in a hashed data structure', language: 'Java', - severity: 'MINOR' + severity: 'MINOR', + status: 'BETA' }, { name: 'Useless Operation On Immutable', language: 'Java', - severity: 'MAJOR' + severity: 'MAJOR', + status: 'READY' } ], paging: { |