Project

General

Profile

Patch #24649 » Clickable-spent-time-in-issue-lists-Redmine-3.3.1.patch

Patch based on Redmine 3.3.1 - Olivier Houdas, 2016-12-19 17:43

View differences:

app/helpers/queries_helper.rb Mon Dec 05 10:21:04 2016 +0100 → app/helpers/queries_helper.rb Mon Dec 19 17:44:41 2016 +0100
151 151
      content_tag('span',
152 152
        value.to_s(issue) {|other| link_to_issue(other, :subject => false, :tracker => false)}.html_safe,
153 153
        :class => value.css_classes_for(issue))
154
    when :spent_hours
155
      (issue.total_spent_hours > 0) ? (link_to format_object(issue.total_spent_hours), issue_time_entries_path(issue)) : '0'
154 156
    else
155 157
      format_object(value)
156 158
    end
(1-1/6)