aboutsummaryrefslogtreecommitdiffstats
path: root/plugins
diff options
context:
space:
mode:
authorJean-Baptiste Vilain <jean-baptiste.vilain@sonarsource.com>2013-08-07 14:44:06 +0200
committerJean-Baptiste Vilain <jean-baptiste.vilain@sonarsource.com>2013-08-07 14:44:06 +0200
commit13b8d5ab95ff0c6cbcb7454c09f64a1573e547a2 (patch)
tree74d820bd2da536f6ae66561ef1f7abd2d23121b3 /plugins
parent376ed0394849415e27209a6fe10515f81ab2f691 (diff)
downloadsonarqube-13b8d5ab95ff0c6cbcb7454c09f64a1573e547a2.tar.gz
sonarqube-13b8d5ab95ff0c6cbcb7454c09f64a1573e547a2.zip
SONAR-4347 Removed dependency with useless code tracker plugin in duplication widget
Diffstat (limited to 'plugins')
-rw-r--r--plugins/sonar-core-plugin/src/main/resources/org/sonar/plugins/core/widgets/duplications_widget.html.erb19
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>