Patch #42794 » 0003-Hide-buttons-column-in-version-tables-when-printing.patch
app/views/versions/index.html.erb | ||
---|---|---|
40 | 40 |
<td class="checkbox"><%= check_box_tag 'ids[]', issue.id, false, :id => nil %></td> |
41 | 41 |
<td class="assigned_to"><%= assignee_avatar(issue.assigned_to, :size => 16) %></td> |
42 | 42 |
<td class="subject"><%= link_to_issue(issue, :project => (@project != issue.project)) %></td> |
43 |
<td class="buttons"><%= link_to_context_menu %></td> |
|
43 |
<td class="buttons hide-when-print"><%= link_to_context_menu %></td>
|
|
44 | 44 |
</tr> |
45 | 45 |
<% end -%> |
46 | 46 |
</table> |
app/views/versions/show.html.erb | ||
---|---|---|
54 | 54 |
<td class="checkbox"><%= check_box_tag 'ids[]', issue.id, false, :id => nil %></td> |
55 | 55 |
<td class="assigned_to"><%= assignee_avatar(issue.assigned_to, :size => 16) %></td> |
56 | 56 |
<td class="subject"><%= link_to_issue(issue, :project => (@project != issue.project)) %></td> |
57 |
<td class="buttons"><%= link_to_context_menu %></td> |
|
57 |
<td class="buttons hide-when-print"><%= link_to_context_menu %></td>
|
|
58 | 58 |
</tr> |
59 | 59 |
<% end %> |
60 | 60 |
</table> |