Project

General

Profile

Defect #30359 » spent-time-fix.diff

patch - Go MAEDA, 2019-01-08 09:28

View differences:

app/helpers/issues_helper.rb (working copy)
def issue_spent_hours_details(issue)
if issue.total_spent_hours > 0
path = project_time_entries_path(issue.project, :issue_id => "~#{issue.id}")
path = time_entries_path(:issue_id => "~#{issue.id}")
if issue.total_spent_hours == issue.spent_hours
link_to(l_hours_short(issue.spent_hours), path)
(4-4/4)