3 xml.bug("lon" => @bug.lon, "lat" => @bug.lat) do
5 xml.date_created @bug.date_created
6 xml.nearby @bug.nearby_place
8 if @bug.status == "closed"
9 xml.date_closed @bug.date_closed
12 for comment in @bug.map_bug_comment
14 xml.date comment.date_created
15 if !comment.commenter_id.nil?
16 xml.uid comment.commenter_id
17 xml.user comment.user.display_name
19 xml.user comment.commenter_name
21 xml.text comment.comment