From 4dd1285dcd75fef97a0c267e2efee68ad076d582 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