]> source.dussan.org Git - sonarqube.git/commitdiff
SONAR-4347 Fix comment_lines measure display
authorJulien HENRY <julien.henry@sonarsource.com>
Wed, 17 Jul 2013 07:55:46 +0000 (09:55 +0200)
committerJulien HENRY <julien.henry@sonarsource.com>
Wed, 17 Jul 2013 07:56:25 +0000 (09:56 +0200)
plugins/sonar-core-plugin/src/main/resources/org/sonar/plugins/core/widgets/documentation_comments_widget.html.erb

index b42c5022a1393c1773a6657f6503aa648f9b7a02..f456c4d090a3a5b997b1b3a17dfbfbe4cca50205 100644 (file)
@@ -37,7 +37,7 @@
             <%= dashboard_configuration.selected_period? ? format_variation(comment_lines_density) : trend_icon(comment_lines_density) -%>
           </p>
           <p>
-            <%= 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) -%>
           </p>
             <%