Display different attachment icon on encrypted messages

pull/5268/merge
Aleksander Machniak 8 years ago
parent c76c4ed08b
commit b9d3fb0221

@ -1,6 +1,7 @@
CHANGELOG Roundcube Webmail
===========================
- Display different attachment icon on encrypted messages
- Display different confirmation text when moving messages to Trash (#5220)
- Indicate that a collapsed thread has flagged children (#5013)
- Implemented message/rfc822 attachment preview

@ -2160,6 +2160,8 @@ function rcube_webmail()
html = '<span class="attachment" title="'+label+'"></span>';
else if (/multipart\/report/.test(flags.ctype))
html = '<span class="report"></span>';
else if (flags.ctype == 'multipart/encrypted' || flags.ctype == 'application/pkcs7-mime')
html = '<span class="encrypted"></span>';
else
html = '&nbsp;';
}

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.5 KiB

After

Width:  |  Height:  |  Size: 2.5 KiB

@ -678,6 +678,7 @@ table.messagelist.fixedcopy
.messagelist tr > .threads .listmenu,
.messagelist tr > .attachment span.attachment,
.messagelist tr > .attachment span.report,
.messagelist tr > .attachment span.encrypted,
.messagelist tr > .priority span.priority,
.messagelist tr > .priority span.prio1,
.messagelist tr > .priority span.prio2,
@ -716,6 +717,11 @@ table.messagelist.fixedcopy
background-position: 0 -255px;
}
.messagelist tr > .attachment span.encrypted
{
background-position: 0 -418px;
}
.messagelist tr > .priority span.priority
{
background-position: 0 -309px;

Binary file not shown.

Before

Width:  |  Height:  |  Size: 13 KiB

After

Width:  |  Height:  |  Size: 12 KiB

@ -381,6 +381,7 @@ table.messagelist.fixedcopy {
.messagelist tr > .threads .listmenu,
.messagelist tr > .attachment span.attachment,
.messagelist tr > .attachment span.report,
.messagelist tr > .attachment span.encrypted,
.messagelist tr > .priority span.priority,
.messagelist tr > .priority span.prio1,
.messagelist tr > .priority span.prio2,
@ -421,6 +422,10 @@ table.messagelist.fixedcopy {
background-position: -24px -1116px;
}
.messagelist tbody tr td.attachment span.encrypted {
background-position: 0 -2272px;
}
.messagelist thead tr th.priority span.priority {
background-position: -25px -1845px;
}

Loading…
Cancel
Save