From 31a625a9830a13fe0e9291c4919d0a54dfbdf012 Mon Sep 17 00:00:00 2001 From: Simon Brandhof Date: Wed, 5 Dec 2012 15:47:27 +0100 Subject: [PATCH] Fix print media --- .../src/main/webapp/WEB-INF/app/helpers/application_helper.rb | 3 --- .../main/webapp/WEB-INF/app/views/dashboard/_header.html.erb | 2 +- sonar-server/src/main/webapp/stylesheets/layout.css | 2 +- 3 files changed, 2 insertions(+), 5 deletions(-) diff --git a/sonar-server/src/main/webapp/WEB-INF/app/helpers/application_helper.rb b/sonar-server/src/main/webapp/WEB-INF/app/helpers/application_helper.rb index 6bbf997ff62..1ec33fa6be7 100644 --- a/sonar-server/src/main/webapp/WEB-INF/app/helpers/application_helper.rb +++ b/sonar-server/src/main/webapp/WEB-INF/app/helpers/application_helper.rb @@ -260,9 +260,6 @@ module ApplicationHelper if options[:dashboard] link_to(name || resource.name, params.merge({:controller => 'dashboard', :action => 'index', :id => resource.id, :period => period_index, :tab => options[:tab], :rule => options[:rule]}), :title => options[:title]) - elsif options[:filter] - link_to(name || resource.name, params.merge({:controller => 'dashboard', :action => 'index', :did => nil, :id => resource.id, :period => period_index, - :tab => options[:tab], :rule => options[:rule]}), :title => options[:title]) else # stay on the same page (for example components) link_to(name || resource.name, params.merge({:id => resource.id, :period => period_index, :tab => options[:tab], :rule => options[:rule]}), :title => options[:title]) diff --git a/sonar-server/src/main/webapp/WEB-INF/app/views/dashboard/_header.html.erb b/sonar-server/src/main/webapp/WEB-INF/app/views/dashboard/_header.html.erb index b520274453c..073c707a3aa 100644 --- a/sonar-server/src/main/webapp/WEB-INF/app/views/dashboard/_header.html.erb +++ b/sonar-server/src/main/webapp/WEB-INF/app/views/dashboard/_header.html.erb @@ -1,7 +1,7 @@ <% if logged_in? || @snapshot %>
<% if logged_in? %> -