app/views/hyrax/dashboard/collections/show.html.erb in hyrax-2.1.0.beta1 vs app/views/hyrax/dashboard/collections/show.html.erb in hyrax-2.1.0.beta2
- old
+ new
@@ -19,13 +19,13 @@
</div>
<div class="col-sm-9 collection-description-wrapper">
<!-- Parent Collection(s) -->
<% if @presenter.collection_type_is_nestable? && @presenter.total_parent_collections > 0 %>
<h4><%= t('.parent_collection_header') %> (<%= @presenter.total_parent_collections %>)</h4>
- <section class="parent-collections-wrapper">
- <%= render 'hyrax/dashboard/collections/show_parent_collections', presenter: @presenter %>
- </section>
+ <section id="parent-collections-wrapper" class="parent-collections-wrapper">
+ <%= render 'hyrax/dashboard/collections/show_parent_collections', presenter: @presenter %>
+ </section>
<% end %>
<!-- Collection Description(s) -->
<section>
<%= render 'hyrax/collections/collection_description', presenter: @presenter %>
@@ -60,17 +60,17 @@
</div>
</section>
<!-- Subcollections -->
<% if @presenter.collection_type_is_nestable? %>
- <section class="sub-collections-wrapper">
+ <section id="sub-collections-wrapper" class="sub-collections-wrapper">
<h4><%= t('.subcollection_count') %> (<%= @subcollection_count %>)</h4>
<div class="row">
- <div class="col-sm-6">
+ <div class="col-md-7">
<%= render 'subcollection_list', id: @presenter.id, collection: @subcollection_docs %>
</div>
<% unless has_collection_search_parameters? %>
- <div class="col-sm-6">
+ <div class="col-md-5">
<%= render 'show_subcollection_actions', presenter: @presenter %>
</div>
<% end %>
</div>
</section>