プロジェクト

全般

プロフィール

Vote #76831

完了

Issue show : bullet points not aligned if sub-task is in a different project

Admin Redmine さんが3年以上前に追加. 3年以上前に更新.

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

0%

予定工数:
category_id:
10
version_id:
110
issue_org_id:
21037
author_id:
36999
assigned_to_id:
1
comments:
7
status_id:
5
tracker_id:
1
plus1:
0
affected_version:
closed_on:
affected_version_id:
ステータス-->[Closed]

説明

The project name is before the hierarchy triangles thus shifting them.

To fix that, the project name can be put in the link which has the css with the triangle image :


            only_path = options[:only_path].nil? ? true : options[:only_path]
            # fix
            text = h("(#{issue.project}) - ") + text if options[:project]

            # Smile specific options + :hours_by_day
            s = link_to(text, issue_path(issue, :only_path => only_path,
                        :hours_by_day => options[:hours_by_day],
                        :debug => options[:debug]
                       ),
                        :class => issue.css_classes, :title => title)
            s << h(": #{subject}") if subject
            #s = h("#{issue.project} - ") + s if options[:project]

journals

The fix is to be done in application_helper#link_to_issue

Don't mind the Smile specific parts : hours_by_day and debug
--------------------------------------------------------------------------------

--------------------------------------------------------------------------------
I cannot understand what you said.
Could you give us screen shot and patch?
--------------------------------------------------------------------------------
* without patch :
!redmine_subtasks_not_aligned_other_project.png!

* with patch :
!redmine_subtasks_not_aligned_other_project_fixed.png!
--------------------------------------------------------------------------------

--------------------------------------------------------------------------------
Fixed in r15374. I didn't integrate the project name in the link as proposed in the patch. Just a few changes to the CSS.
--------------------------------------------------------------------------------
Thanks a lot for the css fix !
--------------------------------------------------------------------------------

Admin Redmine さんが3年以上前に更新

  • カテゴリUI_10 にセット
  • 対象バージョン3.3.0_110 にセット

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

いいね!0
いいね!0