]> source.dussan.org Git - redmine.git/commitdiff
Revert r21082 (#35134).
authorMarius Balteanu <marius.balteanu@zitec.com>
Mon, 26 Jul 2021 20:51:36 +0000 (20:51 +0000)
committerMarius Balteanu <marius.balteanu@zitec.com>
Mon, 26 Jul 2021 20:51:36 +0000 (20:51 +0000)
git-svn-id: http://svn.redmine.org/redmine/trunk@21084 e93f8b46-1217-0410-a6f0-8f06a7374b81

app/helpers/issues_helper.rb

index b8e1dd4140a1559c158f30db879c0fc022578f33..756d7ed4cf4216de80dd7482e553ab271710dfb9 100644 (file)
@@ -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