aboutsummaryrefslogtreecommitdiffstats
path: root/app/views/api
diff options
context:
space:
mode:
authorMarc Florisson2013-07-24 16:13:23 +0200
committerMarc Florisson2013-07-24 16:13:23 +0200
commit9aae98be82465f5fce4eac9edaf7f62b46becdc1 (patch)
treecad13c0b408fb233e7696ca74fc185747837eb6c /app/views/api
parentea4579c46b63be9aa3722049c72afc8b583de8c1 (diff)
downloadchouette-core-9aae98be82465f5fce4eac9edaf7f62b46becdc1.tar.bz2
some optimisations for KML export
Diffstat (limited to 'app/views/api')
-rw-r--r--app/views/api/kml/access_links/index.kml.erb2
-rw-r--r--app/views/api/kml/access_points/index.kml.erb2
-rw-r--r--app/views/api/kml/connection_links/index.kml.erb2
3 files changed, 3 insertions, 3 deletions
diff --git a/app/views/api/kml/access_links/index.kml.erb b/app/views/api/kml/access_links/index.kml.erb
index e625a1a21..871646c68 100644
--- a/app/views/api/kml/access_links/index.kml.erb
+++ b/app/views/api/kml/access_links/index.kml.erb
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<kml xmlns="http://www.opengis.net/kml/2.2">
<Document>
- <name><%= h(Chouette::AccessLink.model_name.human) %> : <%= h(@journey_pattern.name) %></name>
+ <name><%= h(Chouette::AccessLink.model_name.human) %></name>
<% @access_links.each do |access_link| %>
<Placemark id="<%= access_link.objectid %>" >
<name><%= h(access_link.name) %></name>
diff --git a/app/views/api/kml/access_points/index.kml.erb b/app/views/api/kml/access_points/index.kml.erb
index 5e98260b6..f48846f91 100644
--- a/app/views/api/kml/access_points/index.kml.erb
+++ b/app/views/api/kml/access_points/index.kml.erb
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<kml xmlns="http://www.opengis.net/kml/2.2">
<Document>
- <name><%= h(Chouette::AccessPoint.model_name.human) %> : <%= h(@journey_pattern.name) %></name>
+ <name><%= h(Chouette::AccessPoint.model_name.human) %></name>
<name>access</name>
<% @access_points.each do |access_point| %>
<Placemark id="<%= access_point.objectid %>" >
diff --git a/app/views/api/kml/connection_links/index.kml.erb b/app/views/api/kml/connection_links/index.kml.erb
index 2c900aca0..8eb6c6ea2 100644
--- a/app/views/api/kml/connection_links/index.kml.erb
+++ b/app/views/api/kml/connection_links/index.kml.erb
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<kml xmlns="http://www.opengis.net/kml/2.2">
<Document>
- <name><%= h(Chouette::ConnectionLink.model_name.human) %> : <%= h(@journey_pattern.name) %></name>
+ <name><%= h(Chouette::ConnectionLink.model_name.human) %></name>
<% @connection_links.each do |connection_link| %>
<Placemark id="<%= connection_link.objectid %>" >
<name><%= h(connection_link.name) %></name>