Mercurial > hg > soundsoftware-site
comparison app/views/versions/index.api.rsb @ 909:cbb26bc654de redmine-1.3
Update to Redmine 1.3-stable branch (Redmine SVN rev 8964)
author | Chris Cannam |
---|---|
date | Fri, 24 Feb 2012 19:09:32 +0000 |
parents | |
children | 433d4f72a19b |
comparison
equal
deleted
inserted
replaced
908:c6c2cbd0afee | 909:cbb26bc654de |
---|---|
1 api.array :versions, api_meta(:total_count => @versions.size) do | |
2 @versions.each do |version| | |
3 api.version do | |
4 api.id version.id | |
5 api.project(:id => version.project_id, :name => version.project.name) unless version.project.nil? | |
6 | |
7 api.name version.name | |
8 api.description version.description | |
9 api.status version.status | |
10 api.due_date version.effective_date | |
11 | |
12 render_api_custom_values version.custom_field_values, api | |
13 | |
14 api.created_on version.created_on | |
15 api.updated_on version.updated_on | |
16 end | |
17 end | |
18 end |