diff options
author | Simon Brandhof <simon.brandhof@gmail.com> | 2013-02-26 11:43:37 +0100 |
---|---|---|
committer | Simon Brandhof <simon.brandhof@gmail.com> | 2013-02-26 11:43:37 +0100 |
commit | aaf58c6639b2af13c59c724eb506f545858b2096 (patch) | |
tree | 9fdd8e7541be421f09a20d0a81aa39d05c55bf36 /sonar-server | |
parent | 5bea2745e84b139ea5c25974bfe18ccf05dd2a1b (diff) | |
download | sonarqube-aaf58c6639b2af13c59c724eb506f545858b2096.tar.gz sonarqube-aaf58c6639b2af13c59c724eb506f545858b2096.zip |
Add spacing to rule select-box in the violations viewer
Diffstat (limited to 'sonar-server')
-rw-r--r-- | sonar-server/src/main/webapp/WEB-INF/app/views/resource/_rules_filter.html.erb | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/sonar-server/src/main/webapp/WEB-INF/app/views/resource/_rules_filter.html.erb b/sonar-server/src/main/webapp/WEB-INF/app/views/resource/_rules_filter.html.erb index ddbab58f363..a378c0d672f 100644 --- a/sonar-server/src/main/webapp/WEB-INF/app/views/resource/_rules_filter.html.erb +++ b/sonar-server/src/main/webapp/WEB-INF/app/views/resource/_rules_filter.html.erb @@ -70,7 +70,7 @@ value=(@period ? blocker_violations.variation(@period) : blocker_violations.value) if value && value>0 %> - <option value="<%= Sonar::RulePriority::BLOCKER.to_s -%>" <%= 'selected' if params[:rule]==Sonar::RulePriority::BLOCKER.to_s -%>><%= message('severity.BLOCKER') -%> + <option value="<%= Sonar::RulePriority::BLOCKER.to_s -%>" <%= 'selected' if params[:rule]==Sonar::RulePriority::BLOCKER.to_s -%>><%= message('severity.BLOCKER') %> (<%= blocker_violations.format_numeric_value(value) -%>) </option> <% end @@ -80,7 +80,7 @@ value=(@period ? critical_violations.variation(@period) : critical_violations.value) if value && value>0 %> - <option value="<%= Sonar::RulePriority::CRITICAL.to_s -%>" <%= 'selected' if params[:rule]==Sonar::RulePriority::CRITICAL.to_s -%>><%= message('severity.CRITICAL') -%> + <option value="<%= Sonar::RulePriority::CRITICAL.to_s -%>" <%= 'selected' if params[:rule]==Sonar::RulePriority::CRITICAL.to_s -%>><%= message('severity.CRITICAL') %> (<%= critical_violations.format_numeric_value(value) -%>) </option> <% end @@ -91,7 +91,7 @@ value=(@period ? major_violations.variation(@period) : major_violations.value) if value && value>0 %> - <option value="<%= Sonar::RulePriority::MAJOR.to_s -%>" <%= 'selected' if params[:rule]==Sonar::RulePriority::MAJOR.to_s -%>><%= message('severity.MAJOR') -%> + <option value="<%= Sonar::RulePriority::MAJOR.to_s -%>" <%= 'selected' if params[:rule]==Sonar::RulePriority::MAJOR.to_s -%>><%= message('severity.MAJOR') %> (<%= major_violations.format_numeric_value(value) -%>) </option> <% end @@ -102,7 +102,7 @@ value=(@period ? minor_violations.variation(@period) : minor_violations.value) if value && value>0 %> - <option value="<%= Sonar::RulePriority::MINOR.to_s -%>" <%= 'selected' if params[:rule]==Sonar::RulePriority::MINOR.to_s -%>><%= message('severity.MINOR') -%> + <option value="<%= Sonar::RulePriority::MINOR.to_s -%>" <%= 'selected' if params[:rule]==Sonar::RulePriority::MINOR.to_s -%>><%= message('severity.MINOR') %> (<%= minor_violations.format_numeric_value(value) -%>) </option> <% end @@ -113,7 +113,7 @@ value=(@period ? info_violations.variation(@period) : info_violations.value) if value && value>0 %> - <option value="<%= Sonar::RulePriority::INFO.to_s -%>" <%= 'selected' if params[:rule]==Sonar::RulePriority::INFO.to_s -%>><%= message('severity.INFO') -%> + <option value="<%= Sonar::RulePriority::INFO.to_s -%>" <%= 'selected' if params[:rule]==Sonar::RulePriority::INFO.to_s -%>><%= message('severity.INFO') %> (<%= info_violations.format_numeric_value(value) -%>) </option> <% end |