Merge pull request #118 from sallybaker/main

Add website addresses to map
This commit is contained in:
Hugh Rundle 2021-02-11 21:18:08 +11:00 committed by GitHub
commit a13dcd69aa
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 9 additions and 1 deletions

4
.gitignore vendored
View file

@ -1,4 +1,6 @@
website/data/boundaries.geojson website/data/boundaries.geojson
website/secrets.js website/secrets.js
node_modules/* node_modules/*
package-lock.json package-lock.json
Dockerfile
docker-commands.txt

View file

@ -8,3 +8,5 @@ Stephanie Schwarze
Sally Sally
Molly Molly
Michaela Olde Michaela Olde
hughrun
sallybaker

View file

@ -458,6 +458,8 @@ Promise.all([boundaries, branchesCsv, ikcCsv, mechanics, nslaBranches])
(!props.standard_loan_weeks || props.standard_loan_weeks == "?" ? `Unknown` : `${props.standard_loan_weeks} weeks`) + (!props.standard_loan_weeks || props.standard_loan_weeks == "?" ? `Unknown` : `${props.standard_loan_weeks} weeks`) +
`<br/>Software : ` + `<br/>Software : ` +
(!props.ILS || props.ILS == "?" ? `Unknown` : `${props.ILS}`) + (!props.ILS || props.ILS == "?" ? `Unknown` : `${props.ILS}`) +
`<br/>Website: ` +
(!props.website || props.website == "?" ? `Unknown` : `<a target="_blank" href="`+ `${props.website}` + `" >` + `${props.website}` + `</a>`) +
`</p>` `</p>`
).openPopup() ).openPopup()
} }

View file

@ -43,6 +43,8 @@
<li>Sally</li> <li>Sally</li>
<li>Molly</li> <li>Molly</li>
<li>Michaela Olde</li> <li>Michaela Olde</li>
<li>hughrun</li>
<li>sallybaker</li>
</ul> </ul>
<h3 id="visualisation">Visualisation</h3> <h3 id="visualisation">Visualisation</h3>
<table> <table>