diff options
author | Marius Balteanu <marius.balteanu@zitec.com> | 2025-07-06 09:01:54 +0000 |
---|---|---|
committer | Marius Balteanu <marius.balteanu@zitec.com> | 2025-07-06 09:01:54 +0000 |
commit | c6f6b752960e7c62d1971a8471308f15e214350b (patch) | |
tree | bad78cf6f20ef4e18ec40e4ec236c1af2a6c0439 | |
parent | 8e3d2e92674e876ea53c63b461b607401932d01e (diff) | |
download | redmine-c6f6b752960e7c62d1971a8471308f15e214350b.tar.gz redmine-c6f6b752960e7c62d1971a8471308f15e214350b.zip |
Merge r23860 from trunk to 5.1-stable (#42794).
git-svn-id: https://svn.redmine.org/redmine/branches/5.1-stable@23872 e93f8b46-1217-0410-a6f0-8f06a7374b81
-rw-r--r-- | app/helpers/application_helper.rb | 2 | ||||
-rw-r--r-- | app/views/issues/_list.html.erb | 4 | ||||
-rw-r--r-- | app/views/timelog/_list.html.erb | 4 | ||||
-rw-r--r-- | app/views/versions/index.html.erb | 2 | ||||
-rw-r--r-- | app/views/versions/show.html.erb | 2 |
5 files changed, 7 insertions, 7 deletions
diff --git a/app/helpers/application_helper.rb b/app/helpers/application_helper.rb index 234a12921..bebd72834 100644 --- a/app/helpers/application_helper.rb +++ b/app/helpers/application_helper.rb @@ -736,7 +736,7 @@ module ApplicationHelper end def other_formats_links(&block) - concat('<p class="other-formats">'.html_safe + l(:label_export_to)) + concat('<p class="other-formats hide-when-print">'.html_safe + l(:label_export_to)) yield Redmine::Views::OtherFormatsBuilder.new(self) concat('</p>'.html_safe) end diff --git a/app/views/issues/_list.html.erb b/app/views/issues/_list.html.erb index 74b6c94f8..92a507054 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? -%> diff --git a/app/views/timelog/_list.html.erb b/app/views/timelog/_list.html.erb index af8dd1fa5..b72cf09d2 100644 --- a/app/views/timelog/_list.html.erb +++ b/app/views/timelog/_list.html.erb @@ -11,7 +11,7 @@ <% @query.inline_columns.each do |column| %> <%= column_header(@query, column) %> <% end %> - <th></th> + <th class="hide-when-print"></th> </tr> </thead> <tbody> @@ -36,7 +36,7 @@ <% @query.inline_columns.each do |column| %> <%= content_tag('td', column_content(column, entry), :class => column.css_classes) %> <% end %> - <td class="buttons"> + <td class="buttons hide-when-print"> <% if entry.editable_by?(User.current) -%> <%= link_to l(:button_edit), edit_time_entry_path(entry), :title => l(:button_edit), diff --git a/app/views/versions/index.html.erb b/app/views/versions/index.html.erb index 382133e93..010dea7b3 100644 --- a/app/views/versions/index.html.erb +++ b/app/views/versions/index.html.erb @@ -37,7 +37,7 @@ <td class="checkbox"><%= check_box_tag 'ids[]', issue.id, false, :id => nil %></td> <td class="assigned_to"><%= assignee_avatar(issue.assigned_to, :size => 16) %></td> <td class="subject"><%= link_to_issue(issue, :project => (@project != issue.project)) %></td> - <td class="buttons"><%= link_to_context_menu %></td> + <td class="buttons hide-when-print"><%= link_to_context_menu %></td> </tr> <% end -%> </table> diff --git a/app/views/versions/show.html.erb b/app/views/versions/show.html.erb index e17571075..3d689d093 100644 --- a/app/views/versions/show.html.erb +++ b/app/views/versions/show.html.erb @@ -47,7 +47,7 @@ <td class="checkbox"><%= check_box_tag 'ids[]', issue.id, false, :id => nil %></td> <td class="assigned_to"><%= assignee_avatar(issue.assigned_to, :size => 16) %></td> <td class="subject"><%= link_to_issue(issue, :project => (@project != issue.project)) %></td> - <td class="buttons"><%= link_to_context_menu %></td> + <td class="buttons hide-when-print"><%= link_to_context_menu %></td> </tr> <% end %> </table> |