X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/2b4f8e92c969a5508b73ae7af45811a118fda6b1..e8e4aa53d49c1f16aa11961cdc7a14e834a4a541:/app/views/site/export.html.erb diff --git a/app/views/site/export.html.erb b/app/views/site/export.html.erb index a1b905a71..934b56a02 100644 --- a/app/views/site/export.html.erb +++ b/app/views/site/export.html.erb @@ -1,46 +1,50 @@ -<% set_title(t('export.title')) %> +<% set_title(t(".title")) %> -

- - <%= t 'export.title' %> -

+<%= render "sidebar_header", :title => t(".title") %> -<%= form_tag({:controller => "export", :action => "finish"}, :class => "export_form") do %> - <%= hidden_field_tag 'format', 'osm' %> +<%= form_tag({ :controller => "export", :action => "finish" }, { :class => "export_form standard-form" }) do %> + <%= hidden_field_tag "format", "osm" %>
- <%= text_field_tag('maxlat', nil, :size => 10, :class => "export_bound") %> -
- <%= text_field_tag('minlon', nil, :size => 10, :class => "export_bound") %> - <%= text_field_tag('maxlon', nil, :size => 10, :class => "export_bound") %> -
- <%= text_field_tag('minlat', nil, :size => 10, :class => "export_bound") %> -
- <%= t'export.start.manually_select' %> +
+ <%= text_field_tag("maxlat", nil, :size => 10, :class => "export_bound") %> +
+ <%= text_field_tag("minlon", nil, :size => 10, :class => "export_bound") %> + <%= text_field_tag("maxlon", nil, :size => 10, :class => "export_bound") %> +

+ <%= text_field_tag("minlat", nil, :size => 10, :class => "export_bound") %> +
+ <%= t ".manually_select" %>
-

<%= t'export.start.licence' %>

-

<%= raw t 'export.start.export_details' %>

+

<%= t ".licence" %>

+

<%= t ".export_details_html" %>

-

<%= t'export.start.too_large.heading' %>

-

<%= t'export.start.too_large.body' %>

-
-
<%= t'export.start.too_large.planet.title' %>
-
<%= t'export.start.too_large.planet.description' %>
- -
<%= t'export.start.too_large.geofabrik.title' %>
-
<%= t'export.start.too_large.geofabrik.description' %>
+

+ <%= t ".too_large.body" %> +

+
-
<%= t'export.start.too_large.metro.title' %>
-
<%= t'export.start.too_large.metro.description' %>
+
+
+ <%= submit_tag t(".export_button") %> +
-
<%= t'export.start.too_large.other.title' %>
-
<%= t'export.start.too_large.other.description' %>
- +

<%= t ".too_large.advice" %>

-
- <%= submit_tag t('export.start.export_button'), :id => "export_commit" %> -
+
+
<%= t ".too_large.overpass.title" %>
+
<%= t ".too_large.overpass.description" %>
+ +
<%= t ".too_large.planet.title" %>
+
<%= t ".too_large.planet.description" %>
+ +
<%= t ".too_large.geofabrik.title" %>
+
<%= t ".too_large.geofabrik.description" %>
+ +
<%= t ".too_large.other.title" %>
+
<%= t ".too_large.other.description" %>
+
<% end %>