feat: Ajout des noms courts
continuous-integration/drone Build is failing
Details
continuous-integration/drone Build is failing
Details
This commit is contained in:
parent
a6a7e50ab9
commit
1999522e97
|
@ -41,11 +41,12 @@
|
|||
const columns = {
|
||||
finessET: 0,
|
||||
name: 1,
|
||||
dep: 2,
|
||||
tel: 3,
|
||||
siret: 4,
|
||||
x: 5,
|
||||
y: 6,
|
||||
name_long: 2,
|
||||
dep: 3,
|
||||
tel: 4,
|
||||
siret: 5,
|
||||
x: 6,
|
||||
y: 7,
|
||||
}
|
||||
var json = fetch('./data.json').then(response => {
|
||||
return response.json();
|
||||
|
@ -56,7 +57,7 @@
|
|||
const marker = L
|
||||
.marker([msp[columns.x], msp[columns.y]])
|
||||
.bindPopup(
|
||||
msp[columns.name] + " (" + msp[columns.dep] + ")<br>" +
|
||||
(msp[columns.name_long] ? msp[columns.name_long] : msp[columns.name]) + " (" + msp[columns.dep] + ")<br>" +
|
||||
"Établissement FINESS N°" + msp[columns.finessET] + "<br>" +
|
||||
(msp[columns.siret] != null ? "SIREN : <a rel='noreferrer' target='_blank' href='https://data.inpi.fr/entreprises/" + msp[columns.siret].substring(0, 9) + "'>" + msp[columns.siret].substring(0, 9) + "</a><br>" : "") +
|
||||
(msp[columns.tel] != null ? "<a href='tel:" + msp[columns.tel] + "'>" + msp[columns.tel] + "</a>" : "")
|
||||
|
|
|
@ -55,7 +55,7 @@ header_drop = [
|
|||
'section',
|
||||
# 'nofinesset',
|
||||
'nofinessej',
|
||||
'rs',
|
||||
#'rs',
|
||||
#'rslongue',
|
||||
'complrs',
|
||||
'compldistrib',
|
||||
|
|
Loading…
Reference in New Issue