header con canagrafica

This commit is contained in:
kiki 2020-05-13 16:42:52 +02:00
parent 0e338b77fd
commit 4c774737fc

View file

@ -105,7 +105,28 @@ function Aziende(stringexel) {
return "" + d["text-357"].replace(/"/g, "");
});
header_schede.append("p");
header_schede.append("span")
.attr("class", "")
.text(function(d) {
return "Contatti: " + d["tel-216"].replace(/"/g, "") + " " + d["your-email"].replace(/"/g, "");
});
header_schede.append("span")
.html(function(d) {
return " " + d["url-933"].replace(/"/g, "");
});
header_schede.append("p")
.text("Località: ");
header_schede.append("span")
.attr("class", "")
.text(function(d) {
return " " + d["text-122"].replace(/"/g, "");
});
header_schede.append("span")
.attr("class", "locoinfo")
.html(function(d) {
return " " + d["your-subject"].replace(/"/g, "") + " (" + d["text-597"].replace(/"/g, "") + ")";
});
var schede_collassato = schede.append("div")
@ -123,18 +144,7 @@ function Aziende(stringexel) {
.attr("class", "card-body");
var schede_contatti = schede_info.append("p");
schede_contatti.append("span")
.attr("class", "")
.text(function(d) {
return "Contatti: " + d["tel-216"].replace(/"/g, "") + " " + d["your-email"].replace(/"/g, "");
});
schede_contatti.append("span")
.html(function(d) {
return " " + d["url-933"].replace(/"/g, "");
});
/*hidden*/
schede_info.append("p")
.append("span")
@ -145,21 +155,7 @@ function Aziende(stringexel) {
return " " + d["Referente visita ingresso"].replace(/"/g, "");
});
var schede_locali = schede_info.append("p")
.text("Località: ");
schede_locali.append("span")
.attr("class", "")
.text(function(d) {
return " " + d["text-122"].replace(/"/g, "");
});
schede_locali.append("span")
.attr("class", "locoinfo")
.html(function(d) {
return " " + d["your-subject"].replace(/"/g, "") + " (" + d["text-597"].replace(/"/g, "") + ")";
});
schede_info.append("p")
var schede_locali = schede_info.append("p")
.append("span")
.text("Descrizione:")
.append("span")