X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/e19be03313fb226b8397d67dd6dc33d58a1444d0..54bed8e9c0d97f18abee13f8e424ac981c5826d2:/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 6d2549472..a80a8ff4c 100644
--- a/app/views/browse/_navigation.html.erb
+++ b/app/views/browse/_navigation.html.erb
@@ -1,23 +1,24 @@
-
+<% margin = @next_by_user || @prev_by_user ? 9 : 18 %>
+
<% if @next_by_user or @prev_by_user %>
<% if @prev_by_user %>
<%= link_to t('browse.changeset_navigation.paging.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), :rel => "nofollow" } %>
+ { :title => t('browse.changeset_navigation.user.prev_tooltip', :user => @prev_by_user.user.display_name) } %>
|
<% end %>
<%=
user = (@prev_by_user || @next_by_user).user.display_name
link_to h(user),
{ :controller => "changeset", :action => "list", :display_name => user },
- { :title => t('browse.changeset_navigation.user.name_tooltip', :user => h(user)), :rel => "nofollow" }
+ { :title => t('browse.changeset_navigation.user.name_tooltip', :user => h(user)) }
%>
<% if @next_by_user %>
|
<%= link_to t('browse.changeset_navigation.paging.user.next', :id => @next_by_user.id.to_s),
{ :id => @next_by_user.id },
- { :title => t('browse.changeset_navigation.user.next_tooltip', :user => @next_by_user.user.display_name), :rel => "nofollow" } %>
+ { :title => t('browse.changeset_navigation.user.next_tooltip', :user => @next_by_user.user.display_name) } %>
<% end %>
@@ -26,7 +27,7 @@
<% if @prev %>
<%= link_to t('browse.changeset_navigation.paging.all.prev', :id => @prev.id.to_s),
{ :id => @prev.id },
- { :title => t('browse.changeset_navigation.all.prev_tooltip'), :rel => "nofollow" } %>
+ { :title => t('browse.changeset_navigation.all.prev_tooltip') } %>
<% end %>
<% if @prev and @next %>
|
@@ -34,7 +35,7 @@
<% if @next %>
<%= link_to t('browse.changeset_navigation.paging.all.next', :id => @next.id.to_s),
{ :id => @next.id },
- { :title => t('browse.changeset_navigation.all.next_tooltip'), :rel => "nofollow" } %>
+ { :title => t('browse.changeset_navigation.all.next_tooltip') } %>
<% end %>