From 08c0337eda8c259dc95e413d951dffe4f32fa667 Mon Sep 17 00:00:00 2001 From: Julien Lancelot Date: Thu, 3 Apr 2014 19:26:01 +0200 Subject: [PATCH] Fix display of rule from issue --- .../src/main/webapp/WEB-INF/app/views/issue/_rule.html.erb | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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 -%> -- 2.39.5