Skip to content

Commit

Permalink
Merge pull request #479 from nla/blac-719-restore-and-hide-bookmark-c…
Browse files Browse the repository at this point in the history
…ount

BLAC-719: Reimplement bookmark counter and hide it
  • Loading branch information
CEdwardsBlasikiewicz authored Jun 26, 2024
2 parents ed5ca00 + 11c03b8 commit b8a0a3b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions app/views/blacklight/nav/_bookmark.html.erb
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
<%= link_to t('blacklight.header_links.bookmarks'), "/bookmarks", class: 'dropdown-item' %>
<%= link_to t('blacklight.header_links.bookmarks_fa'), bookmarks_path, class: 'dropdown-item' %>
<span class="badge badge-secondary bg-secondary visually-hidden" data-role='bookmark-counter'><%= current_or_guest_user.bookmarks.count %></span>

0 comments on commit b8a0a3b

Please sign in to comment.