From 83f77332e5f178c7686e3aa7d7c4408f0fd99bb1 Mon Sep 17 00:00:00 2001 From: David Gageot Date: Wed, 16 May 2012 15:52:17 +0200 Subject: [PATCH] SONAR-2073 Fix filter widget title format --- .../webapp/WEB-INF/app/views/dashboard/_widget_title.html.erb | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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 %> -- 2.39.5