X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/edaddbedaec78a252e988e2271962407e64483fd..1f7dd79daf44de5f8f8b6c246a269e44bb258175:/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 %> -