X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/54bed8e9c0d97f18abee13f8e424ac981c5826d2..1779347849622ade2abf4926a2db867d69f72033:/app/views/browse/_navigation.html.erb
diff --git a/app/views/browse/_navigation.html.erb b/app/views/browse/_navigation.html.erb
index a80a8ff4c..0856044c8 100644
--- a/app/views/browse/_navigation.html.erb
+++ b/app/views/browse/_navigation.html.erb
@@ -1,41 +1,43 @@
-<% margin = @next_by_user || @prev_by_user ? 9 : 18 %>
-
+<% type = (@next || @prev).class.name.downcase %>
+
<% if @next_by_user or @prev_by_user %>
-
+
-
+
<% end %>
-
- <% if @prev %>
- <%= link_to t('browse.changeset_navigation.paging.all.prev', :id => @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 t('browse.changeset_navigation.paging.all.next', :id => @next.id.to_s),
- { :id => @next.id },
- { :title => t('browse.changeset_navigation.all.next_tooltip') } %>
- <% end %>
-
-