aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--sonar-server/src/main/webapp/WEB-INF/app/views/dashboard/_widget_title.html.erb5
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 %>&nbsp;-&nbsp;<%= 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>