summary branding added. see #580
This commit is contained in:
parent
8494113886
commit
0ea8c02202
2 changed files with 14 additions and 1 deletions
|
|
@ -2008,6 +2008,10 @@
|
||||||
"message": "Antispam by",
|
"message": "Antispam by",
|
||||||
"description": ""
|
"description": ""
|
||||||
},
|
},
|
||||||
|
"summary_by": {
|
||||||
|
"message": "Summary by",
|
||||||
|
"description": ""
|
||||||
|
},
|
||||||
"prefs_THStats_1": {
|
"prefs_THStats_1": {
|
||||||
"message": "Do you want beautiful statistics about your emails?",
|
"message": "Do you want beautiful statistics about your emails?",
|
||||||
"description": ""
|
"description": ""
|
||||||
|
|
|
||||||
|
|
@ -878,8 +878,17 @@ switch (message.command) {
|
||||||
}
|
}
|
||||||
], { bg: bgColorSummary, border: borderColorSummary, text: textColorSummary });
|
], { bg: bgColorSummary, border: borderColorSummary, text: textColorSummary });
|
||||||
|
|
||||||
|
const summaryBranding = document.createElement('span');
|
||||||
|
summaryBranding.textContent = browser.i18n.getMessage("summary_by") + " ThunderAI";
|
||||||
|
summaryBranding.style.cssText = 'font-style: italic; font-size: 10px; opacity: 0.5;';
|
||||||
|
|
||||||
|
const summaryRightGroup = document.createElement('span');
|
||||||
|
summaryRightGroup.style.cssText = 'display: flex; align-items: center; gap: 5px;';
|
||||||
|
summaryRightGroup.appendChild(summaryBranding);
|
||||||
|
summaryRightGroup.appendChild(summaryMenu);
|
||||||
|
|
||||||
summaryHeader.appendChild(summaryTitle);
|
summaryHeader.appendChild(summaryTitle);
|
||||||
summaryHeader.appendChild(summaryMenu);
|
summaryHeader.appendChild(summaryRightGroup);
|
||||||
summaryContainer.appendChild(summaryHeader);
|
summaryContainer.appendChild(summaryHeader);
|
||||||
|
|
||||||
const summaryText = document.createElement('div');
|
const summaryText = document.createElement('div');
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue