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

@ -7,7 +7,7 @@
<table class="list issues odd-even <%= query.css_classes %>">
<thead>
<tr>
<th>&nbsp;</th>
<th class="hide-when-print">&nbsp;</th>
<% query.inline_columns.each do |column| %>
<th class="column_<%= column.name %>"><%= column.caption %></th>
<% end %>
@ -18,7 +18,8 @@
<% if group_name %>
<% reset_cycle %>
<tr class="group open">
<td colspan="<%= query.inline_columns.size + 1 %>">
<td class="hide-when-print">&nbsp;</td>
<td colspan="<%= query.inline_columns.size %>">
<span class="expander" onclick="toggleRowGroup(this);">&nbsp;</span>
<span class="name"><%= group_name %></span> <span class="count"><%= group_count %></span> <span class="totals"><%= group_totals %></span>
<%= link_to_function("#{l(:button_collapse_all)}/#{l(:button_expand_all)}",
@ -35,7 +36,8 @@
<% query.block_columns.each do |column|
if (text = column_content(column, issue)) && text.present? -%>
<tr class="<%= current_cycle %>">
<td colspan="<%= query.inline_columns.size + 1 %>" class="<%= column.css_classes %>">
<td class="hide-when-print">&nbsp;</td>
<td colspan="<%= query.inline_columns.size %>" class="<%= column.css_classes %>">
<% if query.block_columns.count > 1 %>
<span><%= column.caption %></span>
<% end %>