]> git.openstreetmap.org Git - rails.git/blob - app/views/note/_note.gpx.builder
Mass rename of "bugs" as "notes" for increased user friendliness
[rails.git] / app / views / note / _note.gpx.builder
1 xml.wpt("lon" => note.lon, "lat" => note.lat) do
2   xml.desc do
3     xml.cdata! note.flatten_comment("<hr />")
4   end
5
6   xml.extension do
7     if note.status = "open"
8       xml.closed "0"
9     else
10       xml.closed "1"
11     end
12
13     xml.id note.id
14   end
15 end