diff --git a/Gemfile.lock b/Gemfile.lock index 47b54c91..0528618b 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -1,6 +1,6 @@ GIT remote: https://github.com/samvera-labs/allinson_flex.git - revision: 2141b481e2f4a35b4df87c54edf6bc7c1611bfb0 + revision: 72e2cbeda64ea68769067ebb94ff1766101a94c3 specs: allinson_flex (0.1.0) json_schemer diff --git a/app/views/hyrax/dashboard/collections/_list_collections.html.erb b/app/views/hyrax/dashboard/collections/_list_collections.html.erb index 7b006307..98fe0103 100644 --- a/app/views/hyrax/dashboard/collections/_list_collections.html.erb +++ b/app/views/hyrax/dashboard/collections/_list_collections.html.erb @@ -22,7 +22,7 @@ <% if (collection_presenter.thumbnail_path == nil) %> <% else %> - <%= image_tag(collection_presenter.thumbnail_path, alt: "#{collection_presenter.title_or_label} #{t('hyrax.dashboard.my.sr.thumbnail')}") %> + <%= image_tag(collection_presenter.thumbnail_path, alt: block_for(name: 'default_collection_image_text') || "#{collection_presenter.title_or_label} #{t('hyrax.dashboard.my.sr.thumbnail')}") %> <% end %> <%= link_to collection_presenter.show_path do %> diff --git a/app/views/hyrax/my/collections/_list_collections.html.erb b/app/views/hyrax/my/collections/_list_collections.html.erb index 75245cd6..26c720b7 100644 --- a/app/views/hyrax/my/collections/_list_collections.html.erb +++ b/app/views/hyrax/my/collections/_list_collections.html.erb @@ -24,7 +24,7 @@ <% if (collection_presenter.thumbnail_path == nil) %> <% else %> - <%= image_tag(collection_presenter.thumbnail_path, alt: "#{collection_presenter.title_or_label} #{t('hyrax.dashboard.my.sr.thumbnail')}") %> + <%= image_tag(collection_presenter.thumbnail_path, alt: block_for(name: 'default_collection_image_text') || "#{collection_presenter.title_or_label} #{t('hyrax.dashboard.my.sr.thumbnail')}") %> <% end %> <%= link_to collection_presenter.show_path, id: "src_copy_link#{id}" do %>