X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/c319fd5e2200cb855bff567b8c3e6da759e49c7b..15940feba641791c19e63fabd07508907f0c842d:/app/views/browse/_navigation.html.erb diff --git a/app/views/browse/_navigation.html.erb b/app/views/browse/_navigation.html.erb index a7a9ff70c..0856044c8 100644 --- a/app/views/browse/_navigation.html.erb +++ b/app/views/browse/_navigation.html.erb @@ -1,36 +1,43 @@ -
- <% if @next_by_user or @prev_by_user %> - <% if @prev_by_user %> - <%= link_to t('browse.changeset_navigation.user.prev', :id => @prev_by_user.id.to_s), - { :id => @prev_by_user.id }, - { :title => t('browse.changeset_navigation.user.prev_tooltip', :user => @prev_by_user.user.display_name) } %> +<% type = (@next || @prev).class.name.downcase %> + + <% if @next_by_user or @prev_by_user %> + <% end %> -