BIMI differenciate declined in summary
This commit is contained in:
parent
cdfdeb74fc
commit
2bedd0ed75
1 changed files with 17 additions and 6 deletions
|
|
@ -283,24 +283,35 @@
|
||||||
segments.push({
|
segments.push({
|
||||||
text: "BIMI",
|
text: "BIMI",
|
||||||
highlight: { color: "good", bold: true },
|
highlight: { color: "good", bold: true },
|
||||||
link: "#dns-bimi"
|
link: "#dns-bimi",
|
||||||
});
|
});
|
||||||
|
if (bimiResult.details && bimiResult.details.indexOf("declined") == 0) {
|
||||||
|
segments.push({ text: " declined to participate" });
|
||||||
|
} else {
|
||||||
segments.push({ text: " for brand indicator display" });
|
segments.push({ text: " for brand indicator display" });
|
||||||
} else if (bimiResult && bimiResult.details && bimiResult.details.indexOf("(No BIMI records found)") >= 0) {
|
}
|
||||||
|
} else if (
|
||||||
|
bimiResult &&
|
||||||
|
bimiResult.details &&
|
||||||
|
bimiResult.details.indexOf("(No BIMI records found)") >= 0
|
||||||
|
) {
|
||||||
segments.push({ text: ". Your domain has no " });
|
segments.push({ text: ". Your domain has no " });
|
||||||
segments.push({
|
segments.push({
|
||||||
text: "BIMI record",
|
text: "BIMI record",
|
||||||
highlight: { color: "warning", bold: true },
|
highlight: { color: "warning", bold: true },
|
||||||
link: "#dns-bimi"
|
link: "#dns-bimi",
|
||||||
});
|
});
|
||||||
segments.push({ text: ", you could " });
|
segments.push({ text: ", you could " });
|
||||||
segments.push({ text: "add a record to decline participation", highlight: { bold: true } });
|
segments.push({
|
||||||
|
text: "add a record to decline participation",
|
||||||
|
highlight: { bold: true },
|
||||||
|
});
|
||||||
} else if (bimiResult || bimiRecord) {
|
} else if (bimiResult || bimiRecord) {
|
||||||
segments.push({ text: ". Your domain has " });
|
segments.push({ text: ". Your domain has " });
|
||||||
segments.push({
|
segments.push({
|
||||||
text: "BIMI configured with issues",
|
text: "BIMI configured with issues",
|
||||||
highlight: { color: "warning", bold: true },
|
highlight: { color: "warning", bold: true },
|
||||||
link: "#dns-bimi"
|
link: "#dns-bimi",
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue