プロジェクト

全般

プロフィール

Vote #81568

完了

Prints of Issues Report details are messed-up due to the size of the graphs

Admin Redmine さんが約4年前に追加. 約4年前に更新.

ステータス:
Closed
優先度:
通常
担当者:
-
カテゴリ:
Issues planning_40
対象バージョン:
開始日:
2022/05/09
期日:
進捗率:

0%

予定工数:
category_id:
40
version_id:
169
issue_org_id:
35669
author_id:
1565
assigned_to_id:
332
comments:
7
status_id:
5
tracker_id:
1
plus1:
0
affected_version:
closed_on:
affected_version_id:
127
ステータス-->[Closed]

説明

When printing the Issues Report details I get lots of unwanted pages due to the large graphs (graph sizes should additionally be decreased independent of this issue, though [see #35670]) that are beneath the table. And the graphs that are actually printed are messed-up due to their size too.

I think the best solution currently is to hide the charts when printing, like so:


diff --git a/app/views/reports/_details.html.erb b/app/views/reports/_details.html.erb
index 9b8f3b5e5..701591c74 100644
--- a/app/views/reports/_details.html.erb
+++ b/app/views/reports/_details.html.erb
@@ -25,10 +25,10 @@
 <% end %>
 
 
-
+
-
+
<%= javascript_tag do %>

journals

--------------------------------------------------------------------------------

--------------------------------------------------------------------------------

--------------------------------------------------------------------------------

--------------------------------------------------------------------------------
Setting the target version to 4.1.5.
--------------------------------------------------------------------------------

--------------------------------------------------------------------------------
Committed the patch. Thank you.
--------------------------------------------------------------------------------


related_issues

relates,New,35670,Graphs in the Issues Report details are too large.
relates,Closed,31418,Stacked bar charts in the issue details report

Admin Redmine さんが約4年前に更新

  • カテゴリIssues planning_40 にセット
  • 対象バージョン4.1.5_169 にセット

他の形式にエクスポート: Atom PDF

いいね!0
いいね!0