change building name to building info link

This commit is contained in:
Ed Chalstrey 2022-07-07 10:13:00 +01:00
parent 858d4408ea
commit c8139f2d73
2 changed files with 4 additions and 4 deletions

View File

@ -23,7 +23,7 @@ const LocationView: React.FunctionComponent<CategoryViewProps> = (props) => (
copy={props.copy} copy={props.copy}
onChange={props.onChange} onChange={props.onChange}
tooltip={dataFields.location_name.tooltip} tooltip={dataFields.location_name.tooltip}
placeholder="Building name (if any)" placeholder="https://..."
/> />
<Verification <Verification

View File

@ -118,9 +118,9 @@ export const buildingUserFields = {
export const dataFields = { /* eslint-disable @typescript-eslint/camelcase */ export const dataFields = { /* eslint-disable @typescript-eslint/camelcase */
location_name: { location_name: {
category: Category.Location, category: Category.Location,
title: "Building Name", title: "Building information (link)",
tooltip: "May not be needed for many buildings.", tooltip: "Link to a website with information on the building, not needed for most.",
example: "The Cruciform", example: "https://en.wikipedia.org/wiki/Palace_of_Westminster",
}, },
location_number: { location_number: {
category: Category.Location, category: Category.Location,