- <% if @prev_by_user %>
- <
- <%= link_to @prev_by_user.id.to_s, :id => @prev_by_user.id %>
- <% end %>
- |
- <%=
- user = (@prev_by_user || @next_by_user).user.display_name
- link_to(h(user), :controller => "changeset", :action => "list", :display_name => user)
- %>
- |
- <% if @next_by_user %>
- <%= link_to @next_by_user.id.to_s, :id => @next_by_user.id %>
- >
- <% end %>
+ <span class="nowrap">
+ <% if @prev_by_user %>
+ <%= link_to t('browse.navigation.paging.user.prev', :id => @prev_by_user.id.to_s),
+ { :id => @prev_by_user.id },
+ { :title => t("browse.navigation.user.prev_#{type}_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.navigation.user.name_#{type}_tooltip", :user => h(user)) }
+ %>
+ <% if @next_by_user %>
+ |
+ <%= link_to t('browse.navigation.paging.user.next', :id => @next_by_user.id.to_s),
+ { :id => @next_by_user.id },
+ { :title => t("browse.navigation.user.next_#{type}_tooltip", :user => @next_by_user.user.display_name) } %>
+ <% end %>
+ </span>