From: Julien HENRY
Date: Wed, 17 Jul 2013 07:55:46 +0000 (+0200)
Subject: SONAR-4347 Fix comment_lines measure display
X-Git-Tag: 3.7~82
X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=bd565d5d8f38ed2bd5a67b04a31604999df27eb6;p=sonarqube.git
SONAR-4347 Fix comment_lines measure display
---
diff --git a/plugins/sonar-core-plugin/src/main/resources/org/sonar/plugins/core/widgets/documentation_comments_widget.html.erb b/plugins/sonar-core-plugin/src/main/resources/org/sonar/plugins/core/widgets/documentation_comments_widget.html.erb
index b42c5022a13..f456c4d090a 100644
--- a/plugins/sonar-core-plugin/src/main/resources/org/sonar/plugins/core/widgets/documentation_comments_widget.html.erb
+++ b/plugins/sonar-core-plugin/src/main/resources/org/sonar/plugins/core/widgets/documentation_comments_widget.html.erb
@@ -37,7 +37,7 @@
<%= dashboard_configuration.selected_period? ? format_variation(comment_lines_density) : trend_icon(comment_lines_density) -%>
- <%= format_measure(measure(comment_lines),:url => url_for_drilldown(comment_lines), :suffix => message('widget.documentation_comments.lines.suffix'))%>
+ <%= format_measure(comment_lines,:url => url_for_drilldown(comment_lines), :suffix => message('widget.documentation_comments.lines.suffix'))%>
<%= dashboard_configuration.selected_period? ? format_variation(comment_lines) : trend_icon(comment_lines) -%>
<%