diff options
author | David Gageot <david@gageot.net> | 2012-06-01 08:47:48 +0200 |
---|---|---|
committer | David Gageot <david@gageot.net> | 2012-06-01 08:47:48 +0200 |
commit | 4dd1285dcd75fef97a0c267e2efee68ad076d582 (patch) | |
tree | 382477fa88386b432f74a22f78e81d0fbd5a20da /sonar-server | |
parent | fcc9bef547a9e21006c28f73342710e899fcfa67 (diff) | |
download | sonarqube-4dd1285dcd75fef97a0c267e2efee68ad076d582.tar.gz sonarqube-4dd1285dcd75fef97a0c267e2efee68ad076d582.zip |
Changed period name display format in widget's title
Diffstat (limited to 'sonar-server')
-rw-r--r-- | sonar-server/src/main/webapp/WEB-INF/app/views/dashboard/_widget_title.html.erb | 5 |
1 files changed, 1 insertions, 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 %> <div class="widget-title" id="widget_title_<%= widget.id -%>"> - <%= 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 %> </div> <% elsif @dashboard.global and @resource and !widget.java_definition.global %> <div class="widget-title" id="widget_title_<%= widget.id -%>"><%= h @resource.name -%></div> |