diff options
| author | Luc Donnet | 2013-06-28 09:29:45 +0200 |
|---|---|---|
| committer | Luc Donnet | 2013-06-28 09:29:45 +0200 |
| commit | 8f8c8b07b587b0f5f2300f8635b68aeb0415024d (patch) | |
| tree | 80ab900d245b09bd264a17f3de6edcf2ca78197a /app/views/stop_areas | |
| parent | e8bf323e77a548e3ea7e9ab8e1e13e90764046c4 (diff) | |
| download | chouette-core-8f8c8b07b587b0f5f2300f8635b68aeb0415024d.tar.bz2 | |
Add kml links to kml resources for api
Diffstat (limited to 'app/views/stop_areas')
| -rw-r--r-- | app/views/stop_areas/index.html.erb | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/app/views/stop_areas/index.html.erb b/app/views/stop_areas/index.html.erb index 982895a29..3c06b67dd 100644 --- a/app/views/stop_areas/index.html.erb +++ b/app/views/stop_areas/index.html.erb @@ -25,6 +25,12 @@ <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> |
