comparison app/views/projects/.svn/text-base/index.xml.builder.svn-base @ 37:94944d00e43c

* Update to SVN trunk rev 4411
author Chris Cannam <chris.cannam@soundsoftware.ac.uk>
date Fri, 19 Nov 2010 13:24:41 +0000
parents 513646585e45
children
comparison
equal deleted inserted replaced
22:40f7cfd4df19 37:94944d00e43c
6 xml.name project.name 6 xml.name project.name
7 xml.identifier project.identifier 7 xml.identifier project.identifier
8 xml.description project.description 8 xml.description project.description
9 xml.parent(:id => project.parent_id, :name => project.parent.name) unless project.parent.nil? 9 xml.parent(:id => project.parent_id, :name => project.parent.name) unless project.parent.nil?
10 xml.custom_fields do 10 xml.custom_fields do
11 project.custom_field_values.each do |custom_value| 11 project.visible_custom_field_values.each do |custom_value|
12 xml.custom_field custom_value.value, :id => custom_value.custom_field_id, :name => custom_value.custom_field.name 12 xml.custom_field custom_value.value, :id => custom_value.custom_field_id, :name => custom_value.custom_field.name
13 end 13 end
14 end unless project.custom_field_values.empty? 14 end unless project.custom_field_values.empty?
15 xml.created_on project.created_on 15 xml.created_on project.created_on
16 xml.updated_on project.updated_on 16 xml.updated_on project.updated_on