From: Julien Lancelot Date: Thu, 3 Apr 2014 17:26:01 +0000 (+0200) Subject: Fix display of rule from issue X-Git-Tag: 4.3~142 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=08c0337eda8c259dc95e413d951dffe4f32fa667;p=sonarqube.git Fix display of rule from issue --- diff --git a/sonar-server/src/main/webapp/WEB-INF/app/views/issue/_rule.html.erb b/sonar-server/src/main/webapp/WEB-INF/app/views/issue/_rule.html.erb index 9214ce50513..81135a4e437 100644 --- a/sonar-server/src/main/webapp/WEB-INF/app/views/issue/_rule.html.erb +++ b/sonar-server/src/main/webapp/WEB-INF/app/views/issue/_rule.html.erb @@ -8,14 +8,14 @@ <% end %> -<% if @rule.note_data %> +<% if @rule.ruleNote() %>
- <%= Api::Utils.markdown_to_html(@rule.note_data) -%> + <%= Api::Utils.markdown_to_html(@rule.ruleNote().data()) -%>
<% end %>

- <%= h @rule.plugin_name -%>:<%= h @rule.plugin_rule_key -%> + <%= h @rule.ruleKey() -%> <%= image_tag 'sep12.png', :class => 'spacer-right' -%> <% if @characteristic && @sub_characteristic %> <%= @characteristic.name -%> > <%= @sub_characteristic.name -%>