diff options
-rw-r--r-- | server/sonar-web/src/main/webapp/WEB-INF/app/views/drilldown/measures.html.erb | 4 | ||||
-rw-r--r-- | sonar-core/src/main/resources/org/sonar/l10n/core.properties | 1 |
2 files changed, 5 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=[] diff --git a/sonar-core/src/main/resources/org/sonar/l10n/core.properties b/sonar-core/src/main/resources/org/sonar/l10n/core.properties index b93c8a9663c..929f532acb2 100644 --- a/sonar-core/src/main/resources/org/sonar/l10n/core.properties +++ b/sonar-core/src/main/resources/org/sonar/l10n/core.properties @@ -1469,6 +1469,7 @@ drilldown.drilldown_on=Drilldown on issues_drilldown.col.severity=Severity issues_drilldown.col.rule=Rule issues_drilldown.no_issue=No issue +drilldown.no_items_found=No items found #------------------------------------------------------------------------------ |