-<div style="float:right; text-align:center; width: 250px;">
+<% margin = @next_by_user || @prev_by_user ? 9 : 18 %>
+<div id="browse_navigation" style="margin-top: <%= margin %>px">
<% if @next_by_user or @prev_by_user %>
<span class="nowrap">
<% if @prev_by_user %>
- <
- <%= link_to @prev_by_user.id.to_s,
+ <%= 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) } %>
|
%>
<% if @next_by_user %>
|
- <%= link_to @next_by_user.id.to_s,
+ <%= 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) } %>
- >
<% end %>
</span>
<br/>
<% end %>
<span class="nowrap">
<% if @prev %>
- <
- <%= link_to @prev.id.to_s,
+ <%= 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') } %>
<% end %>
|
<% end %>
<% if @next %>
- <%= link_to @next.id.to_s,
+ <%= 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') } %>
- >
<% end %>
</span>
</div>