]> source.dussan.org Git - sonarqube.git/commitdiff
Changed period name display format in widget's title
authorDavid Gageot <david@gageot.net>
Fri, 1 Jun 2012 06:47:48 +0000 (08:47 +0200)
committerDavid Gageot <david@gageot.net>
Fri, 1 Jun 2012 06:47:48 +0000 (08:47 +0200)
sonar-server/src/main/webapp/WEB-INF/app/views/dashboard/_widget_title.html.erb

index d55ac41d57d75143e94590f94ae5eeb84fb51702..f9b4a7bcd5a257d4eb7eb45cefe9040ab3e89fd8 100644 (file)
@@ -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>