summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2010-05-01 14:21:59 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2010-05-01 14:21:59 +0000
commit469ff0fb4e44f61c1bfdcbffb785f54d1f82035d (patch)
treed2807161544ff9444a7e1c19b8a7f3d0870648fa
parent2fda2c18261a81f7e73be25192d2f5fc66c705f9 (diff)
downloadredmine-469ff0fb4e44f61c1bfdcbffb785f54d1f82035d.tar.gz
redmine-469ff0fb4e44f61c1bfdcbffb785f54d1f82035d.zip
Fixing indentation.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3731 e93f8b46-1217-0410-a6f0-8f06a7374b81
-rw-r--r--app/views/projects/index.xml.builder24
1 files changed, 12 insertions, 12 deletions
diff --git a/app/views/projects/index.xml.builder b/app/views/projects/index.xml.builder
index ea99d4906..d5200f620 100644
--- a/app/views/projects/index.xml.builder
+++ b/app/views/projects/index.xml.builder
@@ -1,19 +1,19 @@
xml.instruct!
xml.projects :type => 'array' do
@projects.each do |project|
- xml.project do
- xml.id project.id
- xml.name project.name
- xml.identifier project.identifier
- xml.description project.description
- xml.parent(:id => project.parent_id, :name => project.parent.name) unless project.parent.nil?
- xml.custom_fields do
- project.custom_field_values.each do |custom_value|
- xml.custom_field custom_value.value, :id => custom_value.custom_field_id, :name => custom_value.custom_field.name
- end
+ xml.project do
+ xml.id project.id
+ xml.name project.name
+ xml.identifier project.identifier
+ xml.description project.description
+ xml.parent(:id => project.parent_id, :name => project.parent.name) unless project.parent.nil?
+ xml.custom_fields do
+ project.custom_field_values.each do |custom_value|
+ xml.custom_field custom_value.value, :id => custom_value.custom_field_id, :name => custom_value.custom_field.name
+ end
end unless project.custom_field_values.empty?
- xml.created_on project.created_on
- xml.updated_on project.updated_on
+ xml.created_on project.created_on
+ xml.updated_on project.updated_on
end
end
end