X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/88af5aad215de1cad6e47cbea59f80fb3d7c4fce..1727cd7c2b066a4442f6714be7aa170f4d8c1eef:/app/views/browse/_navigation.html.erb diff --git a/app/views/browse/_navigation.html.erb b/app/views/browse/_navigation.html.erb index c410909e0..0856044c8 100644 --- a/app/views/browse/_navigation.html.erb +++ b/app/views/browse/_navigation.html.erb @@ -1,44 +1,43 @@ -
+<% type = (@next || @prev).class.name.downcase %> + <% if @next_by_user or @prev_by_user %> - + <% end %> - - <% if @prev %> - < - <%= link_to @prev.id.to_s, - { :id => @prev.id }, - { :title => t('browse.changeset_navigation.all.prev_tooltip') } %> - <% end %> - <% if @prev and @next %> - | - <% end %> - <% if @next %> - <%= link_to @next.id.to_s, - { :id => @next.id }, - { :title => t('browse.changeset_navigation.all.next_tooltip') } %> - > - <% end %> - -