+<% type = (@next || @prev).class.name.downcase %>
+ <ul class='secondary-actions clearfix pager'>
+ <% if @prev %>
+ <li>
+ <%= link_to t('browse.navigation.paging.all.prev', :id => @prev.id.to_s),
+ { :id => @prev.id },
+ { :title => t("browse.navigation.all.prev_#{type}_tooltip") } %>
+ </li>
+ <% end %>
+ <% if @next %>
+ <li>
+ <%= link_to t('browse.navigation.paging.all.next', :id => @next.id.to_s),
+ { :id => @next.id },
+ { :title => t("browse.navigation.all.next_#{type}_tooltip") } %>
+ </li>
+ <% end %>
+ </ul>