X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/d951e4f82e50c48b6783493d735d90d99ed41637..a07df4c67bb418398aec48955ffdb74b6ad9eaaf:/app/views/old_ways/show.html.erb diff --git a/app/views/old_ways/show.html.erb b/app/views/old_ways/show.html.erb index d4e82b8a4..d128cd2ad 100644 --- a/app/views/old_ways/show.html.erb +++ b/app/views/old_ways/show.html.erb @@ -4,20 +4,28 @@ <%= render :partial => "browse/way", :object => @feature %> -<% unless @feature.redacted? %> -
+
+ <% unless @feature.redacted? %> <%= link_to t("browse.download_xml"), way_version_path(*@feature.id) %> -
-<% end %> + · + <% end %> + <%= link_to t("browse.view_details"), way_path(@feature.way_id) %> +
<% if @feature.version > 1 %> - <%= link_to "<< #{t('browse.version')} ##{@feature.version - 1}", old_way_path(@feature.way_id, @feature.version - 1) %> + <%= link_to old_way_path(@feature.way_id, @feature.version - 1), :class => "icon-link" do %> + <%= previous_page_svg_tag :height => 11 %> + <%= "#{t('browse.version')} ##{@feature.version - 1}" %> + <% end %> · <% end %> <%= link_to t("browse.view_history"), way_history_path(@feature.way_id) %> <% if @feature.version < @feature.current_way.version %> · - <%= link_to "#{t('browse.version')} ##{@feature.version + 1} >>", old_way_path(@feature.way_id, @feature.version + 1) %> + <%= link_to old_way_path(@feature.way_id, @feature.version + 1), :class => "icon-link" do %> + <%= "#{t('browse.version')} ##{@feature.version + 1}" %> + <%= next_page_svg_tag :height => 11 %> + <% end %> <% end %>