mirror of
https://github.com/redmine/redmine.git
synced 2025-11-12 16:26:03 +01:00
Revert r21082 (#35134).
git-svn-id: http://svn.redmine.org/redmine/trunk@21084 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
@@ -264,11 +264,6 @@ module IssuesHelper
|
|||||||
if issue.total_spent_hours == issue.spent_hours
|
if issue.total_spent_hours == issue.spent_hours
|
||||||
link_to(l_hours_short(issue.spent_hours), path)
|
link_to(l_hours_short(issue.spent_hours), path)
|
||||||
else
|
else
|
||||||
# link to global time entries if cross-project subtasks are allowed
|
|
||||||
# in order to show time entries from not descendents projects
|
|
||||||
if %w(system tree hierarchy).include?(Setting.cross_project_subtasks)
|
|
||||||
path = time_entries_path(:issue_id => "~#{issue.id}")
|
|
||||||
end
|
|
||||||
s = issue.spent_hours > 0 ? l_hours_short(issue.spent_hours) : ""
|
s = issue.spent_hours > 0 ? l_hours_short(issue.spent_hours) : ""
|
||||||
s += " (#{l(:label_total)}: #{link_to l_hours_short(issue.total_spent_hours), path})"
|
s += " (#{l(:label_total)}: #{link_to l_hours_short(issue.total_spent_hours), path})"
|
||||||
s.html_safe
|
s.html_safe
|
||||||
|
|||||||
Reference in New Issue
Block a user