datetime placeholder added. fixes #223
This commit is contained in:
parent
02b4028539
commit
fa20360b88
2 changed files with 10 additions and 0 deletions
|
|
@ -175,6 +175,9 @@ export class mzta_Menus {
|
|||
case 'junk_score':
|
||||
finalSubs['junk_score'] = curr_message.junkScore;
|
||||
break;
|
||||
case 'mail_datetime':
|
||||
finalSubs['mail_datetime'] = curr_message.date;
|
||||
break;
|
||||
case 'tags_current_email':
|
||||
let tags_current_email_array = await transformTagsLabels(curr_message.tags, tags_full_list[1]);
|
||||
finalSubs['tags_current_email'] = tags_current_email_array.join(", ");
|
||||
|
|
|
|||
|
|
@ -103,6 +103,13 @@ const defaultPlaceholders = [
|
|||
type: 0,
|
||||
is_default: "1",
|
||||
},
|
||||
{
|
||||
id: 'mail_datetime',
|
||||
name: "__MSG_placeholder_mail_datetime__",
|
||||
default_value: "",
|
||||
type: 1,
|
||||
is_default: "1",
|
||||
},
|
||||
{
|
||||
id: 'tags_current_email',
|
||||
name: "__MSG_placeholder_tags_current_email__",
|
||||
|
|
|
|||
Loading…
Reference in a new issue