X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/9a3ef885bb72adbde0b968ce67135b8f7b257f35..c8fb5ad24c5751bd2d43b86e4359381d200af066:/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 ed483d8ec..0856044c8 100644
--- a/app/views/browse/_navigation.html.erb
+++ b/app/views/browse/_navigation.html.erb
@@ -1,40 +1,43 @@
-
+<% 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 %>
-
-