From: Fabrice Bellingard Date: Tue, 7 Feb 2012 13:48:53 +0000 (+0100) Subject: SONAR-3088 Add some pages that keep the period info. X-Git-Tag: 2.14~157 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=e43c4783cb230d7a03e17a09bcd33a299aa92227;p=sonarqube.git SONAR-3088 Add some pages that keep the period info. --- 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') -%>