Project

General

Profile

Actions

Defect #21037

closed

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

Added by Jérôme BATAILLE about 9 years ago. Updated over 8 years ago.

Status:
Closed
Priority:
Normal
Category:
UI
Target version:
Start date:
Due date:
% Done:

0%

Estimated time:
Resolution:
Fixed
Affected version:

Description

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]

Files

Actions

Also available in: Atom PDF