X-Git-Url: https://git.openstreetmap.org/rails.git/blobdiff_plain/7918b151d897aaef2be6f56e6b2f913c0c7ff0ca..8ecb2c79f7146ecbb69d08cd38954836dc6d1b4c:/app/views/browse/feature.html.erb diff --git a/app/views/browse/feature.html.erb b/app/views/browse/feature.html.erb index 3b7c64a8d..37be312b1 100644 --- a/app/views/browse/feature.html.erb +++ b/app/views/browse/feature.html.erb @@ -11,12 +11,18 @@ <% end %>
<% if @feature.version > 1 %> - <%= link_to "<< #{t('browse.version')} #1", :controller => "old_#{@type.pluralize}", :action => :show, :version => 1 %> + <%= link_to({ :controller => "old_#{@type.pluralize}", :action => :show, :version => 1 }, :class => "icon-link") do %> + <%= previous_page_svg_tag :height => 11, :count => 2 %> + <%= "#{t('browse.version')} #1" %> + <% end %> · <% end %> <%= link_to t("browse.view_history"), :action => "#{@type}_history" %> <% if @feature.version > 1 %> · - <%= link_to "#{t('browse.version')} ##{@feature.version} >>", :controller => "old_#{@type.pluralize}", :action => :show, :version => @feature.version %> + <%= link_to({ :controller => "old_#{@type.pluralize}", :action => :show, :version => @feature.version }, :class => "icon-link") do %> + <%= "#{t('browse.version')} ##{@feature.version}" %> + <%= next_page_svg_tag :height => 11, :count => 2 %> + <% end %> <% end %>