You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
37 lines
817 B
37 lines
817 B
/** |
|
* These functions are designed to create the summary context |
|
* */ |
|
var privacy_icon = "<span class='material-icons'>privacy_tip</span>"; |
|
|
|
|
|
|
|
function create_short_summary_saved(list){ |
|
let card = "<h1> These data will be saved:<h1/>"; |
|
console.log(list) |
|
|
|
for(let i = 0; i < list.length; i++){ |
|
card += getpictogramdata(list[i].text); |
|
} |
|
return card ; |
|
} |
|
|
|
function create_short_summary_may(list){ |
|
let card = "<h1>data maybe collected</h1>"; |
|
for(let i = 0; i < list.length; i++){ |
|
card += getpictogramdata(list[i].text); |
|
} |
|
|
|
return card; |
|
} |
|
|
|
function create_short_summary_third(list){ |
|
let card = "<h1>These third parties are associated with this service</h1>"; |
|
for(let i = 0; i < list.length; i++){ |
|
card += getpictogramthird(list[i].text); |
|
} |
|
return card; |
|
} |
|
|
|
function getIcon(){ |
|
return privacy_icon; |
|
}
|
|
|