Skip to content

Commit

Permalink
🧹 Clean up a couple blacklight views
Browse files Browse the repository at this point in the history
This commit will account for the new versions of Blacklight and
Blacklight Gallery.  The masonry view no longer exists so we can't tell
how it's broken as of right now.  I'm sure we'll run into it during our
testing.

NOTE:  These changes refer to the shared search tenant.
  • Loading branch information
kirkkwang committed Dec 18, 2023
1 parent 5f83a9a commit 4275a22
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
<%# OVERRIDE blacklight-gallery v0.12.0:
TODO: commented out because bookmarks fail for shared search tenant.
<%# OVERRIDE Blacklight v7.35.0:
TODO: commented out because bookmarks fail for shared search tenant.
If a bookmark is saved in shared tenant, it errors on subsequent views. %>

<%# header bar for doc items in index view -%>
<div class="documentHeader row">
<header class="documentHeader row">
<%# main title container for doc partial view
How many bootstrap columns need to be reserved
for bookmarks control depends on size.
Expand All @@ -12,13 +12,15 @@
<% # bookmark functions for items/docs -%>
<%#= render_index_doc_actions document, wrapping_class: "index-document-functions col-sm-3 col-lg-2" %>
<% end %>
<h3 class="index_title document-title-heading <%= document_actions.present? ? "col-sm-9 col-lg-10" : "col-md-12" %>">
<% if counter = document_counter_with_offset(document_counter) %>
<span class="document-counter">
<%= t('blacklight.search.documents.counter', counter: counter) %>
</span>
<% end %>
<%= link_to_document document, document_show_link_field(document), counter: counter %>
<%= link_to_document document, counter: counter %>
</h3>
<%= document_actions %>
</div>
</header>
2 changes: 0 additions & 2 deletions app/views/catalog/_index_masonry_default.html.erb

This file was deleted.

0 comments on commit 4275a22

Please sign in to comment.