aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--plugins/sonar-core-plugin/src/main/resources/org/sonar/plugins/core/widgets/documentation_comments_widget.html.erb2
1 files changed, 2 insertions, 0 deletions
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 ad5c70d0efa..d1a2e6cf99b 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
@@ -9,6 +9,7 @@
<table width="100%">
<tbody>
<tr>
+ <% if public_documented_api_density || public_api || public_undocumented_api %>
<td valign="top" width="50%">
<div class="dashbox">
<p class="title"><%= message('widget.documentation_comments.documentation') -%></p>
@@ -30,6 +31,7 @@
</p>
</div>
</td>
+ <% end %>
<td valign="top" width="50%">
<div class="dashbox">
<p class="title"><%= message('widget.documentation_comments.comments') -%></p>