app/views/fcrepo_admin/associations/show.html.erb in fcrepo_admin-0.4.0 vs app/views/fcrepo_admin/associations/show.html.erb in fcrepo_admin-0.4.1

- old
+ new

@@ -1,10 +1,14 @@ <h3><%= t("fcrepo_admin.object.associations.title") %>: <%= @association.name %></h3> -<!-- <pre><%= @response %></pre> --> - -<% unless @documents.blank? %> - <%= render_document_index @documents %> +<% if @response.total > 0 %> + <%= content_tag :ol, :start => @response.params[:start].to_i + 1 do %> + <% @documents.each do |doc| %> + <li> + <%= link_to doc.id, fcrepo_admin.object_path(doc.id) %> + </li> + <% end %> + <% end %> <% else %> <div class="alert"> No associated objects found. </div> <% end %>