Project

General

Profile

Feature #31863 ยป Added_a_mapping_in_the_parent_task_ID_children_.patch

G.L. E.I.D, 2019-08-07 16:16

View differences:

app/helpers/issues_helper.rb (date 1565185512523)
content_tag('table', s, :class => 'list issues odd-even')
end
def render_children(issue, api)
@children = Issue.where(:parent_id => issue.id)
if @children != []
array = Array.new
@children.each do |child|
array.push(child.id)
end
eval("api.#{"children_id"} array")
end
end
def issue_estimated_hours_details(issue)
if issue.total_estimated_hours.present?
if issue.total_estimated_hours == issue.estimated_hours
app/views/issues/index.api.rsb (date 1565185512500)
api.category(:id => issue.category_id, :name => issue.category.name) unless issue.category.nil?
api.fixed_version(:id => issue.fixed_version_id, :name => issue.fixed_version.name) unless issue.fixed_version.nil?
api.parent(:id => issue.parent_id) unless issue.parent.nil?
render_children(issue, api)
api.subject issue.subject
api.description issue.description
api.start_date issue.start_date
    (1-1/1)