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