diff --git a/app/models/communication/website/with_batch_publication.rb b/app/models/communication/website/with_batch_publication.rb index 0692613531fa46127f9f0dc07ceaba68ad26326c..6f815fe2b9836cc443baafeba3791f82dc1310a3 100644 --- a/app/models/communication/website/with_batch_publication.rb +++ b/app/models/communication/website/with_batch_publication.rb @@ -8,9 +8,9 @@ module Communication::Website::WithBatchPublication end handle_asynchronously :force_publish!, queue: 'default' - def publish_authors! - commit_files_in_batch github_files.where(about_type: "Communication::Website::Author"), - "[Author] Batch update from import" + def publish_members! + commit_files_in_batch github_files.where(about_type: "Administration::Member"), + "[Member] Batch update from import" end def publish_categories! @@ -37,7 +37,7 @@ module Communication::Website::WithBatchPublication commit_files_in_batch github_files.where(about_type: [ "Education::School", "Education::Program", - "Education::Teacher" + "Administration::Member" ]), "[Education School/Program/Teacher] Batch update from import" end @@ -46,9 +46,10 @@ module Communication::Website::WithBatchPublication commit_files_in_batch github_files.where(about_type: [ "Research::Journal", "Research::Journal::Article", - "Research::Journal::Volume" + "Research::Journal::Volume", + "Administration::Member" ]), - "[Research Journal/Article/Volume] Batch update from import" + "[Research Journal/Article/Volume/Researcher] Batch update from import" end protected diff --git a/app/views/admin/administration/members/index.html.erb b/app/views/admin/administration/members/index.html.erb index 0392345040995193022de9b89a9d9acbd2699da8..53ceb5e8e894e8a0a02dd2170f409a79d4fa13e0 100644 --- a/app/views/admin/administration/members/index.html.erb +++ b/app/views/admin/administration/members/index.html.erb @@ -3,7 +3,6 @@ <%= render 'admin/administration/members/list', members: @members %> <%= paginate @members, theme: 'bootstrap-5' %> - <% content_for :action_bar_right do %> <%= create_link Administration::Member %> <% end %>