app/views/hyrax/dashboard/collections/show.html.erb in hyrax-3.6.0 vs app/views/hyrax/dashboard/collections/show.html.erb in hyrax-4.0.0.beta1
- old
+ new
@@ -3,16 +3,16 @@
<% provide :page_header do %>
<h1><span class="fa fa-file" aria-hidden="true"></span> <%= t('.header') %></h1>
<% end %>
<div class="collections-wrapper">
- <section class="panel panel-default collections-panel-wrapper admin-show-page">
- <div class="panel-heading">
+ <section class="card collections-panel-wrapper admin-show-page">
+ <div class="card-header">
<%= render 'collection_title', presenter: @presenter %>
</div>
- <div class="panel-body">
+ <div class="card-body">
<section>
<div itemscope itemtype="http://schema.org/CollectionPage" class="row collection">
<div class="col-sm-3 text-center">
<%= render 'hyrax/collections/media_display', presenter: @presenter %>
<%= link_to t('.public_view_label'), collection_path(id: @presenter.id) %>
@@ -88,10 +88,10 @@
<%= render 'sort_and_per_page', collection: @presenter %>
<%= render_document_index @member_docs %>
<%= render 'hyrax/collections/paginate' %>
</section>
- </div><!-- /panel-body -->
+ </div><!-- /card-body -->
</section><!-- /collections-panel-wrapper -->
</div><!-- /collections-wrapper -->
<% if @presenter.collection_type_is_nestable? && !collection_search_parameters? %>
<%= render 'hyrax/my/collections/modal_add_to_collection', source: 'show' %>