X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/88af5aad215de1cad6e47cbea59f80fb3d7c4fce..c8fb5ad24c5751bd2d43b86e4359381d200af066:/app/views/browse/_navigation.html.erb?ds=inline 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 %> - -