Sha256: 0cef644a0fafc3f4834b2527686578988647bc568c6abd1986f4215e5c0bf2fb

Contents?: true

Size: 692 Bytes

Versions: 34

Compression:

Stored size: 692 Bytes

Contents

api.time_entry do
  api.id @time_entry.id
  api.project(:id => @time_entry.project_id, :name => @time_entry.project.name) unless @time_entry.project.nil?
  api.issue(:id => @time_entry.issue_id) unless @time_entry.issue.nil?
  api.user(:id => @time_entry.user_id, :name => @time_entry.user.name) unless @time_entry.user.nil?
  api.activity(:id => @time_entry.activity_id, :name => @time_entry.activity.name) unless @time_entry.activity.nil?
  api.hours @time_entry.hours
  api.comments @time_entry.comments
  api.spent_on @time_entry.spent_on
  api.created_on @time_entry.created_on
  api.updated_on @time_entry.updated_on

  render_api_custom_values @time_entry.custom_field_values, api
end

Version data entries

34 entries across 34 versions & 1 rubygems

Version Path
redmine_extensions-0.0.23 spec/redmine/app/views/timelog/show.api.rsb
redmine_extensions-0.0.22 spec/redmine/app/views/timelog/show.api.rsb
redmine_extensions-0.0.21 spec/redmine/app/views/timelog/show.api.rsb
redmine_extensions-0.0.20 spec/redmine/app/views/timelog/show.api.rsb
redmine_extensions-0.0.19 spec/redmine/app/views/timelog/show.api.rsb
redmine_extensions-0.0.18 spec/redmine/app/views/timelog/show.api.rsb
redmine_extensions-0.0.17 spec/redmine/app/views/timelog/show.api.rsb
redmine_extensions-0.0.16 spec/redmine/app/views/timelog/show.api.rsb
redmine_extensions-0.0.15 spec/redmine/app/views/timelog/show.api.rsb
redmine_extensions-0.0.14 spec/redmine/app/views/timelog/show.api.rsb
redmine_extensions-0.0.13 spec/redmine/app/views/timelog/show.api.rsb
redmine_extensions-0.0.12 spec/redmine/app/views/timelog/show.api.rsb
redmine_extensions-0.0.10 spec/redmine/app/views/timelog/show.api.rsb
redmine_extensions-0.0.8 spec/redmine/app/views/timelog/show.api.rsb