X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/e19be03313fb226b8397d67dd6dc33d58a1444d0..b1308a87be1aaa0c6e5fd27e0635ef22b76e8081:/app/views/browse/_navigation.html.erb
diff --git a/app/views/browse/_navigation.html.erb b/app/views/browse/_navigation.html.erb
index 6d2549472..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'), :rel => "nofollow" } %>
- <% 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'), :rel => "nofollow" } %>
- <% end %>
-
-