From dfe69b13a44aeb9289c5ff00c56b365a8d881f27 Mon Sep 17 00:00:00 2001 From: David Zuckerman Date: Wed, 25 Mar 2026 15:15:59 -0700 Subject: [PATCH 1/2] Was using incorrect _toolbar.html.erb file for overriding the view. updated checksum in build.yml to reflect the correct file --- .github/workflows/build.yml | 2 +- .../views/resources/_toolbar.html.erb | 38 +++++++------------ 2 files changed, 14 insertions(+), 26 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 6d901cc..eff311b 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -9,7 +9,7 @@ on: env: BUILD_SUFFIX: -build-${{ github.run_id }}_${{ github.run_attempt }} DOCKER_METADATA_SET_OUTPUT_ENV: 'true' - ARCHIVESSPACE_RESOURCE_TOOLBAR_DIFF_SHA256: 5122e9837c25fefe58d64ff499e570b5120f527f3654de4bb0acac22d5cfc1ed + ARCHIVESSPACE_RESOURCE_TOOLBAR_DIFF_SHA256: 0507fe8963390d445bc2e20b84cfc15956bb69aebfe046033678ab361164a1b9 jobs: build: diff --git a/files/plugins/local/frontend/views/resources/_toolbar.html.erb b/files/plugins/local/frontend/views/resources/_toolbar.html.erb index 8e218f7..d3b1cce 100644 --- a/files/plugins/local/frontend/views/resources/_toolbar.html.erb +++ b/files/plugins/local/frontend/views/resources/_toolbar.html.erb @@ -23,24 +23,24 @@ <%# EAD3 %> <%# END - EAD3 %> @@ -53,8 +53,8 @@
<%# END - MARC %>
@@ -67,17 +67,13 @@ <% if user_can?('create_job') %> <% if job_types['print_to_pdf_job']['create_permissions'].reject{|perm| user_can?(perm)}.empty? %> -