Wording and style improvements for the email template

This commit is contained in:
Kuba Orlik 2021-11-24 01:03:47 +01:00
parent 792b1f88d8
commit 3288c976fd
1 changed files with 8 additions and 3 deletions

View File

@ -23,11 +23,14 @@ function ClusterRangeSummary({ cluster }: { cluster: RequestCluster }) {
return (
<>
{[
"Pańskiego adresu IP",
range.includes("id")
? "sztucznie nadane id" + (has_cookie_ids ? " z cookie" : "")
? "sztucznie nadanego id" + (has_cookie_ids ? " z cookie" : "")
: "",
range.includes("history") ? "część Pańskiej historii przeglądania" : "",
range.includes("location") ? "informacje na temat Pana położenia" : "",
range.includes("history")
? "części Pańskiej historii przeglądania"
: "",
range.includes("location") ? "informacji na temat Pana położenia" : "",
]
.filter((e) => e !== "")
.join(", ")}
@ -266,6 +269,8 @@ export default function EmailTemplate2({
.filter((cluster) => cluster.hasMarks())
.map((cluster) => (
<li key={cluster.id}>
{" "}
style={{ paddingBottom: "1rem" }}
ujawniła pańskie dane w zakresie{" "}
<em>
<ClusterRangeSummary {...{ cluster }} />