diff --git a/app/helpers/issues_helper.rb b/app/helpers/issues_helper.rb index db21e9ab..aa140572 100644 --- a/app/helpers/issues_helper.rb +++ b/app/helpers/issues_helper.rb @@ -47,9 +47,9 @@ module IssuesHelper issue.descendants.sort_by(&:lft).each do |child| level = child.level - issue.level - 1 s << content_tag('tr', - content_tag('td', check_box_tag("ids[]", child.id, false, :id => nil)) + - content_tag('td', link_to_issue(child), :class => 'subject', - :style => "padding-left: #{level * 20}px") + + content_tag('td', check_box_tag("ids[]", child.id, false, :id => nil), :class => 'checkbox') + + content_tag('td', link_to_issue(child, :truncate => 60), :class => 'subject', + :style => "padding-left: #{level * 20}px") + content_tag('td', h(child.status)) + content_tag('td', link_to_user(child.assigned_to)) + content_tag('td', progress_bar(child.done_ratio, :width => '80px')), diff --git a/app/views/issues/_relations.rhtml b/app/views/issues/_relations.rhtml index 135bfa68..83a78b1c 100644 --- a/app/views/issues/_relations.rhtml +++ b/app/views/issues/_relations.rhtml @@ -12,7 +12,7 @@
<%=l(:label_subtask_pural)%>
+<%=l(:label_subtask_plural)%>
<%= render_descendants_tree(@issue) unless @issue.leaf? %> <% end %> diff --git a/public/stylesheets/application.css b/public/stylesheets/application.css index cd8e9869..4623ff96 100644 --- a/public/stylesheets/application.css +++ b/public/stylesheets/application.css @@ -243,6 +243,7 @@ div.issue div.subject>div>p { margin-top: 0.5em; } div.issue div.subject h3 {margin: 0; margin-bottom: 0.1em;} #issue_tree table.issues { border: 0; } +#issue_tree td.checkbox {display:none;} fieldset.collapsible { border-width: 1px 0 0 0; font-size: 0.9em; } fieldset.collapsible legend { padding-left: 16px; background: url(../images/arrow_expanded.png) no-repeat 0% 40%; cursor:pointer; }