Translate some for #419

This commit is contained in:
the-djmaze 2022-06-02 23:13:20 +02:00
parent be2296185f
commit a6d97a601c
7 changed files with 40 additions and 32 deletions

View file

@ -103,10 +103,10 @@ export class MessageModel extends AbstractModel {
// isJunk: () => this.flags().includes('$junk') && !this.flags().includes('$nonjunk'),
// isPhishing: () => this.flags().includes('$phishing'),
tags: () => this.flags().map(value =>
tagsToHTML: () => this.flags().map(value =>
('\\' == value[0] || '$forwarded' == value)
? ''
: '<span class="msgflag-'+value+'">' + i18n('MESSAGE_TAGS/'+value,0,value) + '</span>'
: '<span class="focused msgflag-'+value+'">' + i18n('MESSAGE_TAGS/'+value,0,value) + '</span>'
).join(' ')
});
}

View file

@ -90,6 +90,14 @@ html.rl-no-preview-pane {
}
}
.messageTags {
margin-top: 6px;
}
.messageTags * * {
border: 1px solid #808080;
padding: 2px;
}
.messageItemHeader {
background-color: #f8f8f8;