Skip to content

Commit

Permalink
Merge pull request #987 from scientist-softserv/i958-scholarly-show-p…
Browse files Browse the repository at this point in the history
…age-description

Add more missing descriptions
  • Loading branch information
laritakr authored Mar 7, 2024
2 parents 8f3a642 + b9d3a02 commit e33673f
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
3 changes: 3 additions & 0 deletions app/views/themes/image_show/hyrax/base/show.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,9 @@
<div class="col-sm-12">
<%= render 'pdf_js', file_set_presenter: pdf_file_set_presenter(@presenter) %>
</div>
<div class="col-sm-12">
<%= render 'work_description', presenter: @presenter %>
</div>
<% else %>
<div class="col-sm-3 mb-1">
<%= render 'representative_media', presenter: @presenter, viewer: false unless @presenter.universal_viewer? || @presenter.show_pdf_viewer? %>
Expand Down
3 changes: 3 additions & 0 deletions app/views/themes/scholarly_show/hyrax/oers/show.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,9 @@
<div class="col-sm-12">
<%= render 'pdf_js', file_set_presenter: pdf_file_set_presenter(@presenter) %>
</div>
<div class="col-sm-12">
<%= render 'work_description', presenter: @presenter %>
</div>
<% else %>
<div class="col-sm-3 mb-1">
<%= render 'representative_media', presenter: @presenter, viewer: false unless @presenter.iiif_viewer? || @presenter.file_set_presenters.any?(&:pdf?) %>
Expand Down

0 comments on commit e33673f

Please sign in to comment.