X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/88af5aad215de1cad6e47cbea59f80fb3d7c4fce..e01df312b8fee6f67bf84b4c8293b57789b6fe2c:/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 %>
-
-