From 173934ae6c780fc748043fe352afc0cb9f44393d Mon Sep 17 00:00:00 2001 From: David Zuckerman Date: Wed, 18 Mar 2026 10:22:21 -0700 Subject: [PATCH 1/3] ADA-747 image elements --- app/views/layouts/application.html.erb | 2 +- app/views/searchcase/display.html.erb | 33 +++++++---- app/views/searchcase/full_display.html.erb | 67 +++++++++++----------- app/views/searchcase/search.html.erb | 3 +- 4 files changed, 58 insertions(+), 47 deletions(-) diff --git a/app/views/layouts/application.html.erb b/app/views/layouts/application.html.erb index c1278c00..915cbd6b 100644 --- a/app/views/layouts/application.html.erb +++ b/app/views/layouts/application.html.erb @@ -8,7 +8,7 @@
- <%= link_to image_tag(asset_path('nara.jpg')),"https://web.archive.org/web/20220124061848/https://bancroft.berkeley.edu/collections/chinese-immigration-to-the-united-states-1884-1944/index.html" %> + <%= link_to image_tag(asset_path('nara.jpg'), alt: 'Chinese Immigration to the United States collection home'), "https://web.archive.org/web/20220124061848/https://bancroft.berkeley.edu/collections/chinese-immigration-to-the-united-states-1884-1944/index.html", title: 'Open Chinese Immigration to the United States collection home' %>

The Early Arrivals Records Search (EARS)

diff --git a/app/views/searchcase/display.html.erb b/app/views/searchcase/display.html.erb index ca2ee419..ef06cdfc 100644 --- a/app/views/searchcase/display.html.erb +++ b/app/views/searchcase/display.html.erb @@ -3,24 +3,31 @@ <%= will_paginate @return %> - - - - - - - - - - + + + + + + + + + + + + + + + <% @return.each do |row| %> + - + + <% end %> +
Last NameFirst NameMiddle NameAgeGenderPortDateShipDestination
Search results for immigration records
Last NameFirst NameMiddle NameAgeGenderPortDateShipDestination
<% if row.LASTNAME.nil? %> <%= link_to("No Lastname in NARA", {:controller => "searchcase", :action => "full_display", :data => row},{:style=>'color:#2E64FE;'}) %> @@ -35,8 +42,10 @@ <%= row.PORT%> <%= row.DATE %> <%= row.SHIP %><%= row.DESTINATION %>
<%= row.DESTINATION %>
<%= will_paginate @return %>
diff --git a/app/views/searchcase/full_display.html.erb b/app/views/searchcase/full_display.html.erb index 715fa107..e1280caf 100644 --- a/app/views/searchcase/full_display.html.erb +++ b/app/views/searchcase/full_display.html.erb @@ -4,40 +4,41 @@

Record details below

+ <% @return.each do |row| %> - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + <% end %>
Full immigration record details
LastName<%= row.LASTNAME %>
FirstName<%= row.FIRSTNAME %>
MiddleName<%= row.MIDDLENAME %>
Box Number<%= row.BOXNUMBER %>
Series<%= row.SERIES %>
Case Number<%= row.CASENUMBER %>
Ship<%= row.SHIP %>
Port<%= row.PORT %>
Date<%= row.DATE %>
Destination<%= row.DESTINATION %>
Birthplace<%= row.BIRTHPLACE %>
Birthplace City<%= row.BIRTHPLACE_CITY %>
Birthplace State<%= row.BIRTHPLACE_STATE %>
Birthplace City<%= row.BIRTHPLACE_CITY %>
Date of Birth<%= row.DOB %>
Age<%= row.AGE %>
Gender<%= row.GENDER %>
AFilenum<%= row.AFILENUM %>
Class<%= row.CLASS %>
Disposition of Case<%= row.DISPOSITION_OF_CASE %>
Birth Street<%= row.ST_BORN %>
House Number<%= row.HOUSE_NUM %>
Other Last Name<%= row.OTHERNAMEL %>
Other First Name<%= row.OTHERNAMEF %>
Other Middle Name<%= row.OTHERNAMEM %>
Certificate of Residence<%= row.CERTIFICATE_OF_RESIDENCE %>
Certificate of Identity<%= row.CERTIFICATE_OF_IDENTITY %>
Red Eagle Certificate<%= row.RED_EAGLE_CERTIFICATE %>
Court Record<%= row.COURT_RECORD %>
Remarks<%= row.REMARKS %>
Source<%= row.SOURCE %>
Company<%= row.COMPANY %>
Date Entered<%= row.DATE_ENTERED %>
LastName<%= row.LASTNAME %>
FirstName<%= row.FIRSTNAME %>
MiddleName<%= row.MIDDLENAME %>
Box Number<%= row.BOXNUMBER %>
Series<%= row.SERIES %>
Case Number<%= row.CASENUMBER %>
Ship<%= row.SHIP %>
Port<%= row.PORT %>
Date<%= row.DATE %>
Destination<%= row.DESTINATION %>
Birthplace<%= row.BIRTHPLACE %>
Birthplace City<%= row.BIRTHPLACE_CITY %>
Birthplace State<%= row.BIRTHPLACE_STATE %>
Birthplace City<%= row.BIRTHPLACE_CITY %>
Date of Birth<%= row.DOB %>
Age<%= row.AGE %>
Gender<%= row.GENDER %>
AFilenum<%= row.AFILENUM %>
Class<%= row.CLASS %>
Disposition of Case<%= row.DISPOSITION_OF_CASE %>
Birth Street<%= row.ST_BORN %>
House Number<%= row.HOUSE_NUM %>
Other Last Name<%= row.OTHERNAMEL %>
Other First Name<%= row.OTHERNAMEF %>
Other Middle Name<%= row.OTHERNAMEM %>
Certificate of Residence<%= row.CERTIFICATE_OF_RESIDENCE %>
Certificate of Identity<%= row.CERTIFICATE_OF_IDENTITY %>
Red Eagle Certificate<%= row.RED_EAGLE_CERTIFICATE %>
Court Record<%= row.COURT_RECORD %>
Remarks<%= row.REMARKS %>
Source<%= row.SOURCE %>
Company<%= row.COMPANY %>
Date Entered<%= row.DATE_ENTERED %>
diff --git a/app/views/searchcase/search.html.erb b/app/views/searchcase/search.html.erb index 68245c0d..b20fc835 100644 --- a/app/views/searchcase/search.html.erb +++ b/app/views/searchcase/search.html.erb @@ -1,7 +1,8 @@