X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/edaddbedaec78a252e988e2271962407e64483fd..3da2a95cea6b5efa760b378b45d9223d4b76657d:/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 57e724d42..0856044c8 100644 --- a/app/views/browse/_navigation.html.erb +++ b/app/views/browse/_navigation.html.erb @@ -1,13 +1,43 @@ -
- <% if @prev %> - < - <%= link_to @prev.id.to_s, :id => @prev.id %> +<% type = (@next || @prev).class.name.downcase %> + + <% if @next_by_user or @prev_by_user %> + <% end %> - <% if @prev and @next %> - | - <% end %> - <% if @next %> - <%= link_to @next.id.to_s, :id => @next.id %> - > - <% end %> -