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