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.39 spec/redmine/app/views/timelog/show.api.rsb
redmine_extensions-0.0.38 spec/redmine/app/views/timelog/show.api.rsb
redmine_extensions-0.0.37 spec/redmine/app/views/timelog/show.api.rsb
redmine_extensions-0.1.11 spec/redmine/app/views/timelog/show.api.rsb
redmine_extensions-0.1.10 spec/redmine/app/views/timelog/show.api.rsb
redmine_extensions-0.0.36 spec/redmine/app/views/timelog/show.api.rsb
redmine_extensions-0.0.34 spec/redmine/app/views/timelog/show.api.rsb
redmine_extensions-0.1.09 spec/redmine/app/views/timelog/show.api.rsb
redmine_extensions-0.1.07 spec/redmine/app/views/timelog/show.api.rsb
redmine_extensions-0.1.06 spec/redmine/app/views/timelog/show.api.rsb
redmine_extensions-0.1.05 spec/redmine/app/views/timelog/show.api.rsb
redmine_extensions-0.1.04 spec/redmine/app/views/timelog/show.api.rsb
redmine_extensions-0.1.03 spec/redmine/app/views/timelog/show.api.rsb
redmine_extensions-0.0.33 spec/redmine/app/views/timelog/show.api.rsb
redmine_extensions-0.1.02 spec/redmine/app/views/timelog/show.api.rsb
redmine_extensions-0.1.01 spec/redmine/app/views/timelog/show.api.rsb
redmine_extensions-0.0.29 spec/redmine/app/views/timelog/show.api.rsb
redmine_extensions-0.0.28 spec/redmine/app/views/timelog/show.api.rsb
redmine_extensions-0.0.27 spec/redmine/app/views/timelog/show.api.rsb
redmine_extensions-0.0.24 spec/redmine/app/views/timelog/show.api.rsb