commit
c19e611a66
@ -1,36 +0,0 @@ |
||||
<% |
||||
css_classes = ["issue"] |
||||
css_classes << "issue-#{issue.id}" |
||||
css_classes << "idnt" << "idnt-#{level}" if level > 0 |
||||
|
||||
if relation == "root" |
||||
issue_text = link_to("#{h(issue.tracker.name)} ##{issue.id}", |
||||
'javascript:void(0)', |
||||
:style => "color:inherit; font-weight: bold; text-decoration:none; cursor:default;", |
||||
:class => issue.css_classes) |
||||
else |
||||
title = '' |
||||
|
||||
if relation == "parent" |
||||
title << content_tag(:span, l(:description_parent_issue), :class => "hidden-for-sighted") |
||||
elsif relation == "child" |
||||
title << content_tag(:span, l(:description_sub_issue), :class => "hidden-for-sighted") |
||||
end |
||||
title << " #{h(issue.tracker.name)} ##{issue.id}" |
||||
|
||||
issue_text = link_to(title, issue, :class => issue.css_classes) |
||||
end |
||||
issue_text << ": " |
||||
issue_text << truncate(issue.subject, :length => 60) |
||||
%> |
||||
<%= |
||||
content_tag('tr', [ |
||||
content_tag('td', check_box_tag("ids[]", issue.id, false, :id => nil), :class => 'checkbox'), |
||||
content_tag('td', issue_text, :class => 'subject'), |
||||
content_tag('td', h(issue.status)), |
||||
content_tag('td', link_to_user(issue.assigned_to)), |
||||
content_tag('td', link_to_version(issue.fixed_version)) |
||||
].join, |
||||
:class => css_classes.join(' ') |
||||
) |
||||
%> |
Loading…
Reference in new issue