From 11bfc97e2a7d0009de81d1a0cab02a38b27cb3df Mon Sep 17 00:00:00 2001
From: Luc <iq2luc@gmail.com>
Date: Fri, 30 May 2025 13:40:48 +0300
Subject: [PATCH 2/4] Hide buttons column in issues table when printing

---
 app/views/issues/_list.html.erb | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/app/views/issues/_list.html.erb b/app/views/issues/_list.html.erb
index df562c6f2..e8b151ef6 100644
--- a/app/views/issues/_list.html.erb
+++ b/app/views/issues/_list.html.erb
@@ -15,7 +15,7 @@
       <% query.inline_columns.each do |column| %>
         <%= column_header(query, column, query_options) %>
       <% end %>
-      <th class="buttons"></th>
+      <th class="buttons hide-when-print"></th>
     </tr>
   </thead>
   <tbody>
@@ -36,7 +36,7 @@
     <% query.inline_columns.each do |column| %>
     <%= content_tag('td', column_content(column, issue), :class => column.css_classes) %>
     <% end %>
-    <td class="buttons"><%= link_to_context_menu %></td>
+    <td class="buttons hide-when-print"><%= link_to_context_menu %></td>
   </tr>
   <% query.block_columns.each do |column|
        if (text = column_content(column, issue)) && text.present? -%>
-- 
2.47.2

