X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/05e212027339733cf39aa9b7536c3f5f69ba0962..18c00a5459b20af4d7363a24f708af8408f9bcf9:/app/views/browse/_navigation.html.erb?ds=sidebyside diff --git a/app/views/browse/_navigation.html.erb b/app/views/browse/_navigation.html.erb index f08e09c04..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 %> - -