view app/views/versions/show.api.rsb @ 1155:a34a06ba1e33 redmine-2.2-integration

Provide a JS callback which should (?) be rendered by toggle_active ajax call
author Chris Cannam <chris.cannam@soundsoftware.ac.uk>
date Tue, 15 Jan 2013 15:48:21 +0000
parents 433d4f72a19b
children
line wrap: on
line source
api.version do
  api.id @version.id
  api.project(:id => @version.project_id, :name => @version.project.name) unless @version.project.nil?

  api.name        @version.name
  api.description @version.description
  api.status      @version.status
  api.due_date    @version.effective_date
  api.sharing     @version.sharing

  render_api_custom_values @version.custom_field_values, api

  api.created_on @version.created_on
  api.updated_on @version.updated_on
end