diff options
author | Fabrice Bellingard <bellingard@gmail.com> | 2011-09-01 11:17:42 +0200 |
---|---|---|
committer | Fabrice Bellingard <bellingard@gmail.com> | 2011-09-01 11:17:42 +0200 |
commit | 906a411f4daf12791ab7dc61f4a47d509316edfa (patch) | |
tree | cc5c965a6e601463ced26b96d94f1b3ca7540240 /sonar-server/src/main | |
parent | 7cf051c0f7d8ec017381b05c85044e9321c6c4f7 (diff) | |
download | sonarqube-906a411f4daf12791ab7dc61f4a47d509316edfa.tar.gz sonarqube-906a411f4daf12791ab7dc61f4a47d509316edfa.zip |
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).
Diffstat (limited to 'sonar-server/src/main')
-rw-r--r-- | sonar-server/src/main/webapp/WEB-INF/app/views/rules/show.html.erb | 19 |
1 files changed, 1 insertions, 18 deletions
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 %></div> <div class="doc"> <p><%= @rule.description %></p> -</div> - -<% unless @rule.parameters.empty? %> -<table> - <thead> - <tr><th colspan="3"><b>Parameters</b></th></tr> - </thead> - <tbody> - <% @rule.parameters.each do |parameter| %> - <tr> - <td><code><%= parameter.name -%>:</code></td> - <td class="sep"> </td> - <td><Value><%= parameter.description -%></td> - </tr> - <% end %> - </tbody> -</table> -<% end %>
\ No newline at end of file +</div>
\ No newline at end of file |