From 5d4235a60e0ab81c31239073d8d70fed02ae9648 Mon Sep 17 00:00:00 2001 From: Tatiana Smirnova Date: Wed, 20 Nov 2024 19:48:50 +0100 Subject: [PATCH 1/2] feat: NOP-63 Add Program to Google Tag Manager code on site (#1178) --- app/views/catalog/_show.html.erb | 1 + app/views/catalog/collection_record/_collection_record.html.erb | 1 + 2 files changed, 2 insertions(+) diff --git a/app/views/catalog/_show.html.erb b/app/views/catalog/_show.html.erb index 6a3085033..923c3e462 100644 --- a/app/views/catalog/_show.html.erb +++ b/app/views/catalog/_show.html.erb @@ -42,6 +42,7 @@ dataLayer.push({ 'Opac url': <%= raw @document[:opac_url_ssi].to_json %> === null ? undefined : <%= raw @document[:opac_url_ssi].to_json.html_safe %>, 'Project Name': <%= raw @document[:member_of_collections_ssim].to_json %> === null ? undefined : <%= raw @document[:member_of_collections_ssim].to_json.html_safe %>, // Not sure if pulling from the right field there is no project_tesin field in solr 'Publisher.publisherName': <%= raw @document[:publisher_tesim].to_json %> === null ? undefined : <%= raw @document[:publisher_tesim].to_json.html_safe %>, + 'Program': <%= raw @document[:program_tesim].to_json %> === null ? undefined : <%= raw @document[:program_tesim].to_json.html_safe %>, 'Repository': <%= raw @document[:repository_tesim].to_json %> === null ? undefined : <%= raw @document[:repository_tesim].to_json.html_safe %>, 'Subject geographic': <%= raw @document[:subject_geographic_tesim].to_json %> === null ? undefined : <%= raw @document[:subject_geographic_tesim].to_json.html_safe %>, 'Subject name': <%= raw @document[:named_subject_tesim].to_json %> === null ? undefined : <%= raw @document[:named_subject_tesim].to_json.html_safe %>, diff --git a/app/views/catalog/collection_record/_collection_record.html.erb b/app/views/catalog/collection_record/_collection_record.html.erb index 355ac8d00..b124429d6 100644 --- a/app/views/catalog/collection_record/_collection_record.html.erb +++ b/app/views/catalog/collection_record/_collection_record.html.erb @@ -51,6 +51,7 @@ dataLayer.push({ 'Name.translator': <%= raw @document[:translator_tesim].to_json %> === null ? undefined : <%= raw @document[:translator_tesim].to_json.html_safe %>, 'Opac url': <%= raw @document[:opac_url_ssi].to_json %> === null ? undefined : <%= raw @document[:opac_url_ssi].to_json.html_safe %>, 'Project Name': <%= raw @document[:title_tesim].to_json %> === null ? undefined : <%= raw @document[:title_tesim].to_json.html_safe %>, // Not sure if pulling from the right field there is no project_tesin field in solr + 'Program': <%= raw @document[:program_tesim].to_json %> === null ? undefined : <%= raw @document[:program_tesim].to_json.html_safe %>, 'Publisher.publisherName': <%= raw @document[:publisher_tesim].to_json %> === null ? undefined : <%= raw @document[:publisher_tesim].to_json.html_safe %>, 'Repository': <%= raw @document[:repository_tesim].to_json %> === null ? undefined : <%= raw @document[:repository_tesim].to_json.html_safe %>, 'Subject geographic': <%= raw @document[:subject_geographic_tesim].to_json %> === null ? undefined : <%= raw @document[:subject_geographic_tesim].to_json.html_safe %>, From df111a9fe72997d97b70009ed347417b0a033422 Mon Sep 17 00:00:00 2001 From: Tatiana Smirnova Date: Wed, 20 Nov 2024 21:56:50 +0100 Subject: [PATCH 2/2] feat: NOP-59 Update copy (href) on Ursus about page (#1180) Co-authored-by: Andy Wallace --- app/views/static/ursus_about.html.erb | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/app/views/static/ursus_about.html.erb b/app/views/static/ursus_about.html.erb index 0902477ad..55e611e7b 100644 --- a/app/views/static/ursus_about.html.erb +++ b/app/views/static/ursus_about.html.erb @@ -9,10 +9,10 @@ <%= t('static_pages.about.mission').upcase %>
- The UCLA Digital Library Program works collaboratively within the UCLA Library, across campus, and with a broad range of partners to preserve and provide enhanced access to local and global cultural heritage materials in support of the University’s teaching, learning, research and service mission. -
-
- UCLA Digital Library Collections follow ethical and inclusive approaches to descriptive practices as outlined in <%= link_to 'Toward Ethical and Inclusive Descriptive Practices in UCLA Library Special Collections', 'https://www.library.ucla.edu/location/library-special-collections/discover-collections/toward-ethical-inclusive-descriptive-practices-ucla-library-special-collections', class: 'ur-link', target: '_blank' %>. + The UCLA Digital Library Program works collaboratively within the UCLA Library, across campus, and with a broad range of partners to preserve and provide enhanced access to local and global cultural heritage materials in support of the University’s teaching, learning, research and service mission. +
+
+ UCLA Digital Library Collections follow ethical and inclusive approaches to descriptive practices as outlined in UCLA Library’s <%= link_to 'Policy on Ethical Description', 'https://www.library.ucla.edu/about/policies/ethical-description/', class: 'ur-link', target: '_blank' %>.