Se deshabilitan adecuadamente algunos elementos para la impresión

This commit is contained in:
Manuel Cillero 2019-03-21 17:25:54 +01:00
parent fc1fd1871e
commit b0d7de42e8
3 changed files with 12 additions and 9 deletions

View file

@ -86,7 +86,7 @@
<div id="wrapper-header">
<% if User.current.logged? || !Setting.login_required? %>
<div id="quick-search">
<div id="quick-search" class="hide-when-print">
<%= form_tag({:controller => 'search', :action => 'index', :id => @project}, :method => :get ) do %>
<%= hidden_field_tag 'scope', default_search_project_scope, :id => nil %>
<%= hidden_field_tag(controller.default_search_scope, 1, :id => nil) if controller.default_search_scope %>
@ -131,7 +131,7 @@
</div>
</div>
<a href="#" id="scrollup"><%=l(:label_sort_higher)%></a><%= javascript_tag "$('#scrollup').click(function(){$('html,body').animate({scrollTop:0},600);return false;});" %>
<a href="#" id="scrollup" class="hide-when-print"><%=l(:label_sort_higher)%></a><%= javascript_tag "$('#scrollup').click(function(){$('html,body').animate({scrollTop:0},600);return false;});" %>
<div id="ajax-indicator" style="display:none;"><span><%= l(:label_loading) %></span></div>
<div id="ajax-modal" style="display:none;"></div>