From: Fabrice Bellingard Date: Thu, 1 Sep 2011 09:17:42 +0000 (+0200) Subject: SONAR-2676 Remove the parameter list from rule description page X-Git-Tag: 2.11^2~107 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=906a411f4daf12791ab7dc61f4a47d509316edfa;p=sonarqube.git SONAR-2676 Remove the parameter list from rule description page Showing the parameters with their description could lead to ambiguity => some parameter descriptions specify the default value given by the original tool, thus making confusion with the default value given by the quality profile activated on a project (-> the rule description page is independent of the user context). --- diff --git a/sonar-server/src/main/webapp/WEB-INF/app/views/rules/show.html.erb b/sonar-server/src/main/webapp/WEB-INF/app/views/rules/show.html.erb index c4b783205b8..c7850424fdf 100644 --- a/sonar-server/src/main/webapp/WEB-INF/app/views/rules/show.html.erb +++ b/sonar-server/src/main/webapp/WEB-INF/app/views/rules/show.html.erb @@ -4,21 +4,4 @@ Plugin: <%= @rule.plugin_name -%>    Key: <%= @rule.plugin_rule_key %>

<%= @rule.description %>

-
- -<% unless @rule.parameters.empty? %> - - - - - - <% @rule.parameters.each do |parameter| %> - - - - - - <% end %> - -
Parameters
<%= parameter.name -%>: <%= parameter.description -%>
-<% end %> \ No newline at end of file + \ No newline at end of file