Mercurial > hg > soundsoftware-site
comparison app/views/projects/.svn/text-base/show.xml.builder.svn-base @ 0:513646585e45
* Import Redmine trunk SVN rev 3859
author | Chris Cannam |
---|---|
date | Fri, 23 Jul 2010 15:52:44 +0100 |
parents | |
children | 94944d00e43c |
comparison
equal
deleted
inserted
replaced
-1:000000000000 | 0:513646585e45 |
---|---|
1 xml.instruct! | |
2 xml.project do | |
3 xml.id @project.id | |
4 xml.name @project.name | |
5 xml.identifier @project.identifier | |
6 xml.description @project.description | |
7 xml.homepage @project.homepage | |
8 | |
9 xml.custom_fields do | |
10 @project.custom_field_values.each do |custom_value| | |
11 xml.custom_field custom_value.value, :id => custom_value.custom_field_id, :name => custom_value.custom_field.name | |
12 end | |
13 end unless @project.custom_field_values.empty? | |
14 | |
15 xml.created_on @project.created_on | |
16 xml.updated_on @project.updated_on | |
17 | |
18 xml.trackers do | |
19 @project.trackers.each do |tracker| | |
20 xml.tracker(:id => tracker.id, :name => tracker.name) | |
21 end | |
22 end | |
23 end |