X-Git-Url: https://git.openstreetmap.org/rails.git/blobdiff_plain/edaddbedaec78a252e988e2271962407e64483fd..621cb8a1effa92f6a9df1c387d035b22e16c7941:/app/views/browse/_navigation.html.erb 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 %> -