From: David Gageot Date: Wed, 16 May 2012 13:52:17 +0000 (+0200) Subject: SONAR-2073 Fix filter widget title format X-Git-Tag: 3.1~184 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=83f77332e5f178c7686e3aa7d7c4408f0fd99bb1;p=sonarqube.git SONAR-2073 Fix filter widget title format --- diff --git a/sonar-server/src/main/webapp/WEB-INF/app/views/dashboard/_widget_title.html.erb b/sonar-server/src/main/webapp/WEB-INF/app/views/dashboard/_widget_title.html.erb index e3117eb9ed7..69efb4fad27 100644 --- a/sonar-server/src/main/webapp/WEB-INF/app/views/dashboard/_widget_title.html.erb +++ b/sonar-server/src/main/webapp/WEB-INF/app/views/dashboard/_widget_title.html.erb @@ -5,7 +5,9 @@
<% if filter %> <%= filter.name -%> - <%= period_names[filter.period_index] if filter.period_index -%> + <% if filter.period_index %> + (<%= period_names[filter.period_index] -%>) + <% end %> <% end %>
<% elsif @resource && !widget.java_definition.global %>