summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarius Balteanu <marius.balteanu@zitec.com>2021-07-26 20:51:36 +0000
committerMarius Balteanu <marius.balteanu@zitec.com>2021-07-26 20:51:36 +0000
commit2045128a6f4fd9da7cd23f5af90639486089573c (patch)
treea33bfa12910c18a75323c69f12a21f2f04aeb283
parent08108b8ebeb6196d7767598b3fb917695ba1d83f (diff)
downloadredmine-2045128a6f4fd9da7cd23f5af90639486089573c.tar.gz
redmine-2045128a6f4fd9da7cd23f5af90639486089573c.zip
Revert r21082 (#35134).
git-svn-id: http://svn.redmine.org/redmine/trunk@21084 e93f8b46-1217-0410-a6f0-8f06a7374b81
-rw-r--r--app/helpers/issues_helper.rb5
1 files changed, 0 insertions, 5 deletions
diff --git a/app/helpers/issues_helper.rb b/app/helpers/issues_helper.rb
index b8e1dd414..756d7ed4c 100644
--- a/app/helpers/issues_helper.rb
+++ b/app/helpers/issues_helper.rb
@@ -264,11 +264,6 @@ module IssuesHelper
if issue.total_spent_hours == issue.spent_hours
link_to(l_hours_short(issue.spent_hours), path)
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 += " (#{l(:label_total)}: #{link_to l_hours_short(issue.total_spent_hours), path})"
s.html_safe