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