diff --git a/_includes/js/map-js.html b/_includes/js/map-js.html index b94d4e78..59f38d60 100644 --- a/_includes/js/map-js.html +++ b/_includes/js/map-js.html @@ -127,9 +127,12 @@ thumbImg = getIcon(feature.properties.template,feature.properties.format,"thumb") } // set up popup content - var popupTemplate = '

' + - feature.properties.title + '

' + thumbImg + '

'; + var popupTemplate = ""; + if (feature.properties.title) { + popupTemplate = '

' + + feature.properties.title + '

' + thumbImg + '

'; + } {% for f in fields %}{% if f.display_name %} if (feature.properties[{{ f.field | escape | jsonify }}]) { popupTemplate += '{{ f.display_name }}: ' + feature.properties[{{ f.field | escape | jsonify }}] + '
'; diff --git a/verified_CSV_headings_for_GCCB_projects.csv b/verified_CSV_headings_for_GCCB_projects.csv new file mode 100644 index 00000000..d75806c5 --- /dev/null +++ b/verified_CSV_headings_for_GCCB_projects.csv @@ -0,0 +1 @@ +objectid,originating_system_id,original_file_name,short_filename,sort_index,parentid,admin_notes,title,interviewer,interviewee,date,description,subject,people,location,latitude,longitude,source,identifier,type,format,language,rights,rightsstatement,display_template,WORKSPACE1,WORKSPACE2,WORKSPACE3,object_location,image_small,image_thumb,image_alt_text,object_transcript