From: Simon Brandhof Date: Wed, 5 Dec 2012 14:47:27 +0000 (+0100) Subject: Fix print media X-Git-Tag: 3.4~136 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=31a625a9830a13fe0e9291c4919d0a54dfbdf012;p=sonarqube.git Fix print media --- 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? %> -