Skip to content

Commit

Permalink
display thumbnail in public collection page. Fixes issue #3358
Browse files Browse the repository at this point in the history
  • Loading branch information
blancoj committed Jun 9, 2020
1 parent 0fb9b48 commit 0935dd5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/views/hyrax/collections/show.html.erb
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
<% provide :page_title, construct_page_title(@presenter.title) %>
<div class="hyc-container" itemscope itemtype="http://schema.org/CollectionPage">
<div class="row hyc-header">
<div class="col-md-12">

<div class="col-md-12">
<% unless @presenter.banner_file.blank? %>
<div class="hyc-banner" style="background-image:url(<%= @presenter.banner_file %>)">
<% else %>
Expand Down Expand Up @@ -69,6 +68,7 @@

</div>
<div class="col-md-4 hyc-metadata">
<%= render 'hyrax/collections/media_display', presenter: @presenter %>
<% unless has_collection_search_parameters? %>
<h2><%= t('hyrax.dashboard.collections.show.metadata_header') %></h2>
<%= render 'show_descriptions' %>
Expand Down

0 comments on commit 0935dd5

Please sign in to comment.