Project

General

Profile

Feature #20800 ยป issueName.patch

Francesco Abeni, 2018-03-05 11:52

View differences:

app/views/timelog/index.api.rsb (copia locale)
3 3
    api.time_entry do
4 4
      api.id time_entry.id
5 5
      api.project(:id => time_entry.project_id, :name => time_entry.project.name) unless time_entry.project.nil?
6
      api.issue(:id => time_entry.issue_id) unless time_entry.issue.nil?
6
      api.issue(:id => time_entry.issue_id, :name => time_entry.issue.subject) unless time_entry.issue.nil?
7 7
      api.user(:id => time_entry.user_id, :name => time_entry.user.name) unless time_entry.user.nil?
8 8
      api.activity(:id => time_entry.activity_id, :name => time_entry.activity.name) unless time_entry.activity.nil?
9 9
      api.hours time_entry.hours
    (1-1/1)