]> source.dussan.org Git - sonarqube.git/commitdiff
SONAR-4347 Removed dependency with useless code tracker plugin in duplication widget
authorJean-Baptiste Vilain <jean-baptiste.vilain@sonarsource.com>
Wed, 7 Aug 2013 12:45:21 +0000 (14:45 +0200)
committerJean-Baptiste Vilain <jean-baptiste.vilain@sonarsource.com>
Wed, 7 Aug 2013 12:45:21 +0000 (14:45 +0200)
plugins/sonar-core-plugin/src/main/resources/org/sonar/plugins/core/widgets/duplications_widget.html.erb

index 7730b4e0f6006da96a7e6b7c8d94a656db062dba..141a8e7568e8c397bc7b861bd7c5de12d96091ee 100644 (file)
           </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>