##// END OF EJS Templates
Adds trackers to individual project XML (#5342)....
Jean-Philippe Lang -
r3616:2fda2c18261a
parent child
Show More
@@ -1,17 +1,23
1 xml.instruct!
1 xml.instruct!
2 xml.project do
2 xml.project do
3 xml.id @project.id
3 xml.id @project.id
4 xml.name @project.name
4 xml.name @project.name
5 xml.identifier @project.identifier
5 xml.identifier @project.identifier
6 xml.description @project.description
6 xml.description @project.description
7 xml.homepage @project.homepage
7 xml.homepage @project.homepage
8
8
9 xml.custom_fields do
9 xml.custom_fields do
10 @project.custom_field_values.each do |custom_value|
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
11 xml.custom_field custom_value.value, :id => custom_value.custom_field_id, :name => custom_value.custom_field.name
12 end
12 end
13 end unless @project.custom_field_values.empty?
13 end unless @project.custom_field_values.empty?
14
14
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
17
18 xml.trackers do
19 @project.trackers.each do |tracker|
20 xml.tracker(:id => tracker.id, :name => tracker.name)
21 end
22 end
17 end
23 end
General Comments 0
You need to be logged in to leave comments. Login now