From 74032eba5c92c13b1a1e1fb149101956644c8a6a Mon Sep 17 00:00:00 2001 From: David Gageot Date: Fri, 1 Jun 2012 08:47:48 +0200 Subject: [PATCH] Changed period name display format in widget's title --- .../WEB-INF/app/views/dashboard/_widget_title.html.erb | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) 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 d55ac41d57d..f9b4a7bcd5a 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 @@ -1,9 +1,6 @@ <% if widget.properties_as_hash['filter'] and @filter %>
- <%= h @filter.name -%> - <% if @filter.period_index %> - (<%= period_names[@filter.period_index-1] -%>) - <% end %> + <%= h @filter.name -%><% if @filter.period_index %> - <%= period_names[@filter.period_index-1] -%><% end %>
<% elsif @dashboard.global and @resource and !widget.java_definition.global %>
<%= h @resource.name -%>
-- 2.39.5