app/views/hyrax/admin/admin_sets/show.html.erb in hyrax-3.6.0 vs app/views/hyrax/admin/admin_sets/show.html.erb in hyrax-4.0.0.beta1
- old
+ new
@@ -2,18 +2,18 @@
<h1><span class="fa fa-sitemap" aria-hidden="true"></span> <%= t('.header') %></h1>
<% end %>
<div class="row">
<div class="col-md-12">
- <div class="panel panel-default">
+ <div class="card">
<%= render 'show_actions', presenter: @presenter %>
- <div class="panel-body admin-set row">
+ <div class="card-body admin-set row">
<div class="col-md-2">
<% if has_thumbnail? @presenter.solr_document %>
<div class="document-thumbnail">
- <%= render_thumbnail_tag @presenter.solr_document, {}, suppress_link: true %>
+ <%= render_thumbnail_tag(@presenter.solr_document, {}, { suppress_link: true }) %>
</div>
<% else %>
<span class="fa fa-sitemap collection-icon-search" aria-hidden="true"></span>
<% end %>
</div>
@@ -21,10 +21,10 @@
<%= render 'collection_description', presenter: @presenter %>
<%= render 'show_descriptions' %>
</div>
</div>
- <div class="panel-body admin-set-members">
+ <div class="card-body admin-set-members">
<h3><%= t '.item_list_header' %></h3>
<%= render 'sort_and_per_page', collection: @presenter %>
<%= render_document_index @member_docs %>