File tree Expand file tree Collapse file tree 1 file changed +19
-17
lines changed Expand file tree Collapse file tree 1 file changed +19
-17
lines changed Original file line number Diff line number Diff line change 6060 <% end %>
6161 <% end %>
6262
63- <% if @record [ 'subjects' ] . present? %>
64- < h3 class ="section-title "> Subjects</ h3 >
65- < ul >
66- <% deduplicate_subjects ( @record [ 'subjects' ] ) &.each do |subject | %>
67- < li > <%= subject . join ( '; ' ) %> </ li >
68- <% end %>
69- </ ul >
70- <% end %>
71-
7263 <!-- We only care about geospatial locations for this, as place names are also subjects. -->
7364 <% if geospatial_coordinates? ( @record [ 'locations' ] ) %>
7465 < h3 class ="section-title "> Geospatial coordinates</ h3 >
75- < ul >
76- <% parse_nested_field ( @record [ 'locations' ] ) . each do |location | %>
77- <% if location [ 'geoshape' ] . present? %>
78- < li > <%= "#{ location [ 'kind' ] } : #{ location [ 'geoshape' ] } " %> </ li >
79- <% end %>
80- <% end %>
81- </ ul >
82-
8366 <% content_for :additional_meta_tag do %>
8467 < link rel ="
stylesheet "
href ="
https://unpkg.com/[email protected] /dist/leaflet.css "
8568 integrity ="sha256-p4NxAoJBhIIN+hmNHrzRCf9tD/miZyoHS5obTRR9BMY= "
11295 // zoom the map to the rectangle bounds
11396 map . fitBounds ( bounds ) ;
11497 </ script >
98+
99+ < p >
100+ < ul >
101+ <% parse_nested_field ( @record [ 'locations' ] ) . each do |location | %>
102+ <% if location [ 'geoshape' ] . present? %>
103+ < li > <%= "#{ location [ 'kind' ] } : #{ location [ 'geoshape' ] } " %> </ li >
104+ <% end %>
105+ <% end %>
106+ </ ul >
107+ </ p >
108+ <% end %>
109+
110+ <% if @record [ 'subjects' ] . present? %>
111+ < h3 class ="section-title "> Subjects</ h3 >
112+ < ul >
113+ <% deduplicate_subjects ( @record [ 'subjects' ] ) &.each do |subject | %>
114+ < li > <%= subject . join ( '; ' ) %> </ li >
115+ <% end %>
116+ </ ul >
115117 <% end %>
116118
117119 <% if @record [ 'notes' ] . present? %>
You can’t perform that action at this time.
0 commit comments