aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichel Etienne2013-07-16 17:19:53 +0200
committerMichel Etienne2013-07-16 17:19:53 +0200
commit39e9f55b446da3a12c13c1e62a06aa3d4f89d522 (patch)
tree7cc6c77ca974c5650b0641f375249a5724d74242
parentedeb65a7059b1f0ab23fec66091de70fdc092433 (diff)
downloadchouette-core-39e9f55b446da3a12c13c1e62a06aa3d4f89d522.tar.bz2
remove kml links
-rw-r--r--app/views/lines/index.html.erb1
-rw-r--r--app/views/lines/show.html.erb3
-rw-r--r--app/views/routes/show.html.erb3
-rw-r--r--app/views/stop_areas/index.html.erb6
4 files changed, 0 insertions, 13 deletions
diff --git a/app/views/lines/index.html.erb b/app/views/lines/index.html.erb
index 59c341e79..ff14e8749 100644
--- a/app/views/lines/index.html.erb
+++ b/app/views/lines/index.html.erb
@@ -47,7 +47,6 @@
<ul class="actions">
<li><%= link_to t('lines.actions.import'), new_referential_import_path(@referential), :class => "import" %></li>
- <li><%= link_to t('lines.actions.export_kml_all'), api_kml_referential_lines_path(@referential, :format => :kml), :class => "kml" %></li>
</ul>
<h3><%= t(".selection") %></h3>
diff --git a/app/views/lines/show.html.erb b/app/views/lines/show.html.erb
index d5c89cc3b..6b3fb84a7 100644
--- a/app/views/lines/show.html.erb
+++ b/app/views/lines/show.html.erb
@@ -71,9 +71,6 @@
<li><%= link_to t('lines.actions.edit'), edit_referential_line_path(@referential, @line), :class => "edit" %></li>
<li><%= link_to t('lines.actions.destroy'), referential_line_path(@referential, @line), :method => :delete, :data => {:confirm => t('lines.actions.destroy_confirm')}, :class => "remove" %></li>
<li><%= link_to t('routes.actions.new'), new_referential_line_route_path(@referential, @line), :class => "add" %></li>
- <br>
- <li><%= link_to t('lines.actions.export_kml'), api_kml_referential_line_path(@referential, @line, :format => :kml), :class => "kml" %></li>
- <li><%= link_to t('routes.actions.export_kml_all'), api_kml_referential_line_routes_path(@referential, @line, :format => :kml), :class => "kml" %></li>
</ul>
<%= creation_tag(@line) %>
<% end %>
diff --git a/app/views/routes/show.html.erb b/app/views/routes/show.html.erb
index 2a73740d9..7f9f71ba2 100644
--- a/app/views/routes/show.html.erb
+++ b/app/views/routes/show.html.erb
@@ -96,9 +96,6 @@
</li>
<% end %>
</ul>
-<ul class="actions">
- <li><%= link_to t('routes.actions.export_kml'), api_kml_referential_line_route_path(@referential, @line, @route, :format => :kml), :class => "kml" %></li>
-</ul>
<%= creation_tag(@route) %>
<% end %>
diff --git a/app/views/stop_areas/index.html.erb b/app/views/stop_areas/index.html.erb
index 3c06b67dd..982895a29 100644
--- a/app/views/stop_areas/index.html.erb
+++ b/app/views/stop_areas/index.html.erb
@@ -25,12 +25,6 @@
<li><%= link_to t('stop_areas.actions.default_geometry'), default_geometry_referential_stop_areas_path(@referential), :method => :put, :class => "calculator_edit" %></li>
</ul>
-<ul class="actions">
- <li><%= link_to t('stop_areas.actions.export_kml_place'), api_kml_referential_stop_areas_path(@referential, :format => :kml, :category => "Place" ), :class => "kml" %></li>
- <li><%= link_to t('stop_areas.actions.export_kml_commercial'), api_kml_referential_stop_areas_path(@referential, :format => :kml, :category => "CommercialStopPoint" ), :class => "kml" %></li>
- <li><%= link_to t('stop_areas.actions.export_kml_physical'), api_kml_referential_stop_areas_path(@referential, :format => :kml, :category => "Physical" ), :class => "kml" %></li>
-</ul>
-
<h3><%= t(".selection") %></h3>
<h4><%= t(".area_type") %></h4>