From: David Gageot Date: Fri, 1 Jun 2012 06:47:48 +0000 (+0200) Subject: Changed period name display format in widget's title X-Git-Tag: 3.1~22 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=74032eba5c92c13b1a1e1fb149101956644c8a6a;p=sonarqube.git Changed period name display format in widget's title --- 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 -%>