プロジェクト

全般

プロフィール

Vote #80784

完了

Parent task subject column in gantt is not fully displayed when the column is widened

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

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

0%

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

説明

The Parent task subject is broken when the width of the column is wider.

!gantt_column_error.png!


journals

Changing ID as shown below will resolve the issue.
parent.subject -> parent_subject
--------------------------------------------------------------------------------
Jaebok Oh wrote:
> Changing ID as shown below will resolve the issue.
> parent.subject -> parent_subject

+1
I think so, too. In the attached patch, the Parent task subject can be stretched properly.

!{width:600px;border:1px solid #ccc;}gantt-column-stretched.png!
--------------------------------------------------------------------------------
Good job! :-)
--------------------------------------------------------------------------------
I have slightly modified the patch.

* Changed the variable name from @css_class@ to @column_name@ because it is used not only for CSS classes but also for ids
* Changed the way of getting the "parent_subject" format string in order to reduce method calls (5 to 3)
--------------------------------------------------------------------------------
Setting the target version to 4.1.2.
--------------------------------------------------------------------------------

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

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

  • カテゴリGantt_34 にセット
  • 対象バージョン4.1.2_162 にセット

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

いいね!0
いいね!0