aboutsummaryrefslogtreecommitdiffstats
path: root/server
diff options
context:
space:
mode:
authorStas Vilchik <vilchiks@gmail.com>2015-04-21 16:46:53 +0200
committerStas Vilchik <vilchiks@gmail.com>2015-04-21 16:46:53 +0200
commit8236430c6c5c67b8a7a229dd50395eac876725c6 (patch)
treef6181e1823658d47351f6a9c3452c1751b4935ed /server
parente2d3ac164a708d812f54d577592d9745d78f696c (diff)
downloadsonarqube-8236430c6c5c67b8a7a229dd50395eac876725c6.tar.gz
sonarqube-8236430c6c5c67b8a7a229dd50395eac876725c6.zip
improve display of empty drilldown
Diffstat (limited to 'server')
-rw-r--r--server/sonar-web/src/main/webapp/WEB-INF/app/views/drilldown/measures.html.erb4
1 files changed, 4 insertions, 0 deletions
diff --git a/server/sonar-web/src/main/webapp/WEB-INF/app/views/drilldown/measures.html.erb b/server/sonar-web/src/main/webapp/WEB-INF/app/views/drilldown/measures.html.erb
index e800b24ed0e..4c90ff7e1cc 100644
--- a/server/sonar-web/src/main/webapp/WEB-INF/app/views/drilldown/measures.html.erb
+++ b/server/sonar-web/src/main/webapp/WEB-INF/app/views/drilldown/measures.html.erb
@@ -51,6 +51,10 @@
<% end %>
</div>
+ <% unless @drilldown.columns.size > 0 %>
+ <div class="alert alert-info"><%= h message('drilldown.no_items_found') -%></div>
+ <% end %>
+
<div id="drilldown" class="width100">
<%
rids=[]