Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added slideshow start info back in from blacklight. #2394

Merged
merged 2 commits into from
Dec 3, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions app/assets/stylesheets/hyku.scss
Original file line number Diff line number Diff line change
Expand Up @@ -716,3 +716,9 @@ tr[data-feature="use-iiif-print"] {
flex-wrap: wrap;
justify-content: space-between;
}

// slideshow heading
.slideshow-info {
text-align: center;
margin-bottom: 15px;
}
5 changes: 5 additions & 0 deletions app/views/hyrax/collections/show.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -135,6 +135,11 @@
</div>

<div class="hyc-blacklight hyc-bl-results">
<% if document_index_view_type == :slideshow %>
<div class="slideshow-info">
<h4><%= t('blacklight.slideshow_info') %></h4>
</div>
<% end %>
<%= render_document_index @member_docs %>
</div>

Expand Down
1 change: 1 addition & 0 deletions config/locales/en.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ en:
etd: "ETD"
oer: "OER"
blacklight:
slideshow_info: "Select an image to start the slideshow"
search:
fields:
facet:
Expand Down
Loading