fix phrasing on some overlay buttons
This commit is contained in:
parent
4218350b71
commit
38c75ac1a3
@ -11,7 +11,7 @@ const BoroughSwitcher: React.FC<BoroughSwitcherProps> = (props) => (
|
|||||||
<form className={`borough-switcher ${props.currentDisplay}`} onSubmit={props.onSubmit}>
|
<form className={`borough-switcher ${props.currentDisplay}`} onSubmit={props.onSubmit}>
|
||||||
<button className="btn btn-outline btn-outline-dark"
|
<button className="btn btn-outline btn-outline-dark"
|
||||||
type="submit">
|
type="submit">
|
||||||
Switch borough overlay ({(props.currentDisplay === 'enabled')? 'Enabled' : 'Disabled'})
|
{(props.currentDisplay === 'enabled')? 'Switch off Borough overlay' : 'Switch on Borough overlay'}
|
||||||
</button>
|
</button>
|
||||||
</form>
|
</form>
|
||||||
);
|
);
|
||||||
|
@ -11,7 +11,7 @@ const ConservationAreaSwitcherProps: React.FC<ConservationAreaSwitcherProps> = (
|
|||||||
<form className={`conservation-switcher ${props.currentDisplay}`} onSubmit={props.onSubmit}>
|
<form className={`conservation-switcher ${props.currentDisplay}`} onSubmit={props.onSubmit}>
|
||||||
<button className="btn btn-outline btn-outline-dark"
|
<button className="btn btn-outline btn-outline-dark"
|
||||||
type="submit">
|
type="submit">
|
||||||
Switch conservation area overlay ({(props.currentDisplay === 'enabled')? 'Enabled' : 'Disabled'})
|
{(props.currentDisplay === 'enabled')? 'Switch off Conservation Area overlay' : 'Switch on Conservation Area overlay'}
|
||||||
</button>
|
</button>
|
||||||
</form>
|
</form>
|
||||||
);
|
);
|
||||||
|
@ -11,7 +11,7 @@ const HistoricDataSwitcherProps: React.FC<HistoricDataSwitcherProps> = (props) =
|
|||||||
<form className={`historic-data-switcher ${props.currentDisplay}`} onSubmit={props.onSubmit}>
|
<form className={`historic-data-switcher ${props.currentDisplay}`} onSubmit={props.onSubmit}>
|
||||||
<button className="btn btn-outline btn-outline-dark"
|
<button className="btn btn-outline btn-outline-dark"
|
||||||
type="submit">
|
type="submit">
|
||||||
Switch to the OS 1890s historical map ({(props.currentDisplay === 'enabled')? 'Enabled' : 'Disabled'})
|
{(props.currentDisplay === 'enabled')? 'Switch off the OS 1890s Historical Map overlay' : 'Switch on the OS 1890s Historical Map overlay'}
|
||||||
</button>
|
</button>
|
||||||
</form>
|
</form>
|
||||||
);
|
);
|
||||||
|
Loading…
Reference in New Issue
Block a user