From 4d851aee64ef78a7dcbaeec6f580280a7930abde Mon Sep 17 00:00:00 2001 From: Simon Brandhof Date: Tue, 10 Sep 2013 18:11:13 +0200 Subject: [PATCH] SONAR-4653 Provide new CSS styles for tables and titles in rule descriptions --- .../resources/org/sonar/l10n/core.properties | 6 +- .../WEB-INF/app/views/issue/_issue.html.erb | 2 +- .../app/views/rules/_show_modal.html.erb | 4 +- .../WEB-INF/app/views/rules/show.html.erb | 2 +- .../views/rules_configuration/_rule.html.erb | 4 +- .../rules_configuration/_rule_note.html.erb | 2 +- .../views/rules_configuration/index.html.erb | 4 +- .../src/main/webapp/stylesheets/style.css | 69 +++++++++++++++---- 8 files changed, 66 insertions(+), 27 deletions(-) diff --git a/plugins/sonar-core-plugin/src/main/resources/org/sonar/l10n/core.properties b/plugins/sonar-core-plugin/src/main/resources/org/sonar/l10n/core.properties index ee093b5df8c..74b4b87c244 100644 --- a/plugins/sonar-core-plugin/src/main/resources/org/sonar/l10n/core.properties +++ b/plugins/sonar-core-plugin/src/main/resources/org/sonar/l10n/core.properties @@ -1476,9 +1476,9 @@ rules_configuration.rule_deleted=Rule deleted rules_configuration.unknown_rule=Unknown rule rules_configuration.x_rules_have_been_activated={0} rules have been activated. rules_configuration.x_rules_have_been_deactivated={0} rules have been deactivated. -rules_configuration.extend_description=Extend description -rules_configuration.edit_note=Edit note -rules_configuration.add_note=Add note +rules_configuration.extend_description=Extend Description +rules_configuration.edit_note=Edit Note +rules_configuration.add_note=Add Note rules_configuration.confirm_delete_note=Do you really want to delete this note? rules_configuration.rule_inherited_from_profile_x=Rule inherited from profile "{0}" rules_configuration.rule_overriding_from_profile_x=Rule overrides parent definition from profile "{0}" diff --git a/sonar-server/src/main/webapp/WEB-INF/app/views/issue/_issue.html.erb b/sonar-server/src/main/webapp/WEB-INF/app/views/issue/_issue.html.erb index 6e1cb2eeeed..67097e935b4 100644 --- a/sonar-server/src/main/webapp/WEB-INF/app/views/issue/_issue.html.erb +++ b/sonar-server/src/main/webapp/WEB-INF/app/views/issue/_issue.html.erb @@ -37,7 +37,7 @@ <% end %> - + <% unless issue.message.blank? %> diff --git a/sonar-server/src/main/webapp/WEB-INF/app/views/rules/_show_modal.html.erb b/sonar-server/src/main/webapp/WEB-INF/app/views/rules/_show_modal.html.erb index 71dcc6c944a..ea19f410b4e 100644 --- a/sonar-server/src/main/webapp/WEB-INF/app/views/rules/_show_modal.html.erb +++ b/sonar-server/src/main/webapp/WEB-INF/app/views/rules/_show_modal.html.erb @@ -17,7 +17,7 @@ -