You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

show.api.rsb 717B

1234567891011121314151617181920
  1. api.version do
  2. api.id @version.id
  3. api.project(:id => @version.project_id, :name => @version.project.name) unless @version.project.nil?
  4. api.name @version.name
  5. api.description @version.description
  6. api.status @version.status
  7. api.due_date @version.effective_date
  8. api.sharing @version.sharing
  9. api.wiki_page_title @version.wiki_page_title
  10. if User.current.allowed_to?(:view_time_entries, @project)
  11. api.estimated_hours(@version.visible_fixed_issues.estimated_hours)
  12. api.spent_hours(@version.spent_hours)
  13. end
  14. render_api_custom_values @version.visible_custom_field_values, api
  15. api.created_on @version.created_on
  16. api.updated_on @version.updated_on
  17. end