From e43c4783cb230d7a03e17a09bcd33a299aa92227 Mon Sep 17 00:00:00 2001 From: Fabrice Bellingard Date: Tue, 7 Feb 2012 14:48:53 +0100 Subject: [PATCH] SONAR-3088 Add some pages that keep the period info. --- .../main/webapp/WEB-INF/app/views/layouts/_layout.html.erb | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/sonar-server/src/main/webapp/WEB-INF/app/views/layouts/_layout.html.erb b/sonar-server/src/main/webapp/WEB-INF/app/views/layouts/_layout.html.erb index 5f9b38b33e6..ba02eba64ce 100644 --- a/sonar-server/src/main/webapp/WEB-INF/app/views/layouts/_layout.html.erb +++ b/sonar-server/src/main/webapp/WEB-INF/app/views/layouts/_layout.html.erb @@ -1,6 +1,7 @@ <% selected_section = controller.class::SECTION @project=@resource unless @project || selected_section==Navigation::SECTION_HOME + period_param = "period=#{params[:period]}" if params[:period] %>
@@ -51,13 +52,13 @@ <% elsif (selected_section==Navigation::SECTION_RESOURCE) %> <% ActiveDashboard.user_dashboards(current_user).each do |active_dashboard| %>
  • - "><%= active_dashboard.dashboard.name(true) -%> + "><%= active_dashboard.dashboard.name(true) -%>
  • <% end %>
  • <%= message('components.page') -%>
  • - <%= message('violations_drilldown.page') -%>
  • + "><%= message('violations_drilldown.page') -%>
  • <%= message('timemachine.page') -%>
  • -- 2.39.5