From d3f7031458c531d5b1a99a37a1f91a6202c6610c Mon Sep 17 00:00:00 2001 From: Daniel Pierce Date: Thu, 10 Oct 2024 13:39:12 -0400 Subject: [PATCH] More bs --- app/views/_flash_msg.html.erb | 2 +- app/views/hyrax/base/_citations.html.erb | 2 +- app/views/hyrax/base/_form_files.html.erb | 4 ++-- app/views/hyrax/base/_guts4form.html.erb | 2 +- app/views/hyrax/base/_show_actions.html.erb | 6 +++--- app/views/hyrax/base/_work_button_row.html.erb | 6 +++--- app/views/hyrax/content_blocks/_form.html.erb | 6 +++--- app/views/hyrax/homepage/index.html.erb | 2 +- app/views/hyrax/my/_admin_set_action_menu.html.erb | 2 +- app/views/hyrax/my/_collection_action_menu.html.erb | 2 +- app/views/hyrax/my/_facet_selected.html.erb | 2 +- app/views/hyrax/my/_work_action_menu.html.erb | 4 ++-- .../hyrax/my/collections/_modal_add_subcollection.html.erb | 4 ++-- .../hyrax/my/collections/_modal_add_to_collection.html.erb | 4 ++-- .../my/collections/_modal_add_to_collection_deny.html.erb | 2 +- .../_modal_add_to_collection_permission_deny.html.erb | 2 +- .../collections/_modal_collection_types_to_create.html.erb | 4 ++-- .../my/collections/_modal_delete_admin_set_deny.html.erb | 2 +- .../hyrax/my/collections/_modal_delete_collection.html.erb | 2 +- .../my/collections/_modal_delete_collection_deny.html.erb | 2 +- .../my/collections/_modal_delete_collections_deny.html.erb | 2 +- app/views/hyrax/my/collections/_modal_delete_deny.html.erb | 2 +- .../my/collections/_modal_delete_empty_collection.html.erb | 2 +- .../collections/_modal_delete_selected_collections.html.erb | 2 +- app/views/hyrax/my/collections/_modal_edit_deny.html.erb | 2 +- app/views/hyrax/my/collections/index.html.erb | 4 ++-- app/views/hyrax/my/works/_batch_actions.html.erb | 2 +- app/views/hyrax/my/works/index.html.erb | 4 ++-- 28 files changed, 41 insertions(+), 41 deletions(-) diff --git a/app/views/_flash_msg.html.erb b/app/views/_flash_msg.html.erb index c53d103dbb..8690ebfc3e 100644 --- a/app/views/_flash_msg.html.erb +++ b/app/views/_flash_msg.html.erb @@ -1,7 +1,7 @@ <% { notice: 'alert-success', error: 'alert-danger', alert: 'alert-warning' }.each do |type, flash_dom_class| %> <% if flash[type].present? %> <% flash.delete(type) %> diff --git a/app/views/hyrax/base/_citations.html.erb b/app/views/hyrax/base/_citations.html.erb index 9582c1502a..0425fe6a16 100644 --- a/app/views/hyrax/base/_citations.html.erb +++ b/app/views/hyrax/base/_citations.html.erb @@ -3,7 +3,7 @@ <%= link_to t(".citations"), hyrax.citations_work_path(presenter), id: 'citations', class: 'btn btn-secondary btn-sm mr-2' %> <% end %>
-
<% if Hyrax.config.browse_everything? %> <%= button_tag(type: 'button', class: 'btn btn-success', id: "browse-btn", - 'data-toggle' => 'browse-everything', 'data-route' => browse_everything_engine.root_path, - 'data-target' => "#{f.object.persisted? ? "#edit_#{f.object.model.model_name.param_key}_#{f.object.model.id}" : "#new_#{f.object.model.model_name.param_key}"}" ) do %> + 'data-bs-toggle' => 'browse-everything', 'data-bs-route' => browse_everything_engine.root_path, + 'data-bs-target' => "#{f.object.persisted? ? "#edit_#{f.object.model.model_name.param_key}_#{f.object.model.id}" : "#new_#{f.object.model.model_name.param_key}"}" ) do %> <%= t('hyrax.upload.browse_everything.browse_files_button') %> <% end %> diff --git a/app/views/hyrax/base/_guts4form.html.erb b/app/views/hyrax/base/_guts4form.html.erb index efe88dc759..b7872c5fc9 100644 --- a/app/views/hyrax/base/_guts4form.html.erb +++ b/app/views/hyrax/base/_guts4form.html.erb @@ -6,7 +6,7 @@