projects
/
citadel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
179801f
)
More template literals.
author
Art Cancro
<ajc@citadel.org>
Wed, 20 Dec 2023 04:15:10 +0000
(23:15 -0500)
committer
Art Cancro
<ajc@citadel.org>
Wed, 20 Dec 2023 04:15:10 +0000
(23:15 -0500)
webcit-ng/static/js/view_mail.js
patch
|
blob
|
history
diff --git
a/webcit-ng/static/js/view_mail.js
b/webcit-ng/static/js/view_mail.js
index e78560a847cdf5d4728cd33cda7e76cf0c8b9f0e..37fcdbbe79ab05d9619ed799f0656f2af0c4be60 100644
(file)
--- a/
webcit-ng/static/js/view_mail.js
+++ b/
webcit-ng/static/js/view_mail.js
@@
-413,12
+413,14
@@
function render_mailbox_display(notify) {
}
// begin rendering the mailbox table
}
// begin rendering the mailbox table
- box = "<table id=\"ctdl-onscreen-mailbox\" class=\"ctdl-mailbox-table\" width=100%><tr>"
- + "<th>" + _("Subject") + "</th>"
- + "<th>" + _("Sender") + "</th>"
- + "<th>" + _("Date") + "</th>"
- + "<th>#</th>"
- + "</tr>";
+ box = `
+ <table id="ctdl-onscreen-mailbox" class="ctdl-mailbox-table" width=100%><tr>
+ <th>${_("Subject")}</th>
+ <th>${ _("Sender")}</th>
+ <th>${_("Date")}</th>
+ <th>#</th>
+ </tr>
+ `;
for (let i=0; i<msgs.length; ++i) {
let m = parseInt(msgs[i].msgnum);
for (let i=0; i<msgs.length; ++i) {
let m = parseInt(msgs[i].msgnum);