diff options
author | Jean-Baptiste Vilain <jean-baptiste.vilain@sonarsource.com> | 2013-08-07 14:45:21 +0200 |
---|---|---|
committer | Jean-Baptiste Vilain <jean-baptiste.vilain@sonarsource.com> | 2013-08-07 14:45:21 +0200 |
commit | b739755d78c07f9032694689687021b71b42d4e4 (patch) | |
tree | 3d56ce283c5345ebee73ce82140de7b6cdc24656 | |
parent | b425eb68b1ace358cd0bcbc67bc31e2a605a093e (diff) | |
download | sonarqube-b739755d78c07f9032694689687021b71b42d4e4.tar.gz sonarqube-b739755d78c07f9032694689687021b71b42d4e4.zip |
SONAR-4347 Removed dependency with useless code tracker plugin in duplication widget
-rw-r--r-- | plugins/sonar-core-plugin/src/main/resources/org/sonar/plugins/core/widgets/duplications_widget.html.erb | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/plugins/sonar-core-plugin/src/main/resources/org/sonar/plugins/core/widgets/duplications_widget.html.erb b/plugins/sonar-core-plugin/src/main/resources/org/sonar/plugins/core/widgets/duplications_widget.html.erb index 7730b4e0f60..141a8e7568e 100644 --- a/plugins/sonar-core-plugin/src/main/resources/org/sonar/plugins/core/widgets/duplications_widget.html.erb +++ b/plugins/sonar-core-plugin/src/main/resources/org/sonar/plugins/core/widgets/duplications_widget.html.erb @@ -26,25 +26,6 @@ </p> </div> </td> -<% - useless_code=measure('total-useless-lines') - if useless_code -%> - - <td valign="top" width="50%"> - <div class="dashbox"> - <p class="title"><%= message('widget.duplications.useless-duplications-title') -%></p> - <p> - <span class="big"> - <%= format_measure(measure('useless-duplicated-lines'),:url => url_for_drilldown('useless-duplicated-lines'), :suffix => ' ' + message('widget.duplications.lines.suffix'))%> - </span> - <%= dashboard_configuration.selected_period? ? format_variation('useless-duplicated-lines') : trend_icon('useless-duplicated-lines') -%> - </p> - </div> - </td> -<% - end -%> </tr> </tbody> </table> |