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 9e54a35
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion app/views/hyrax/collections/show.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<div class="hyc-container" itemscope itemtype="http://schema.org/CollectionPage">
<div class="row hyc-header">
<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 +69,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 9e54a35

Please sign in to comment.