]>
Commit | Line | Data |
---|---|---|
c627f092 | 1 | Ext.define('PMG.menu.SpamContextMenu', { |
f57a60be | 2 | extend: 'PMG.menu.QuarantineContextMenu', |
c627f092 DC |
3 | |
4 | items: [ | |
5 | { | |
6 | text: gettext('Deliver'), | |
365f84c1 | 7 | iconCls: 'fa fa-fw fa-paper-plane-o info-blue', |
c627f092 | 8 | action: 'deliver', |
c87d46fb | 9 | handler: 'callCallback', |
c627f092 DC |
10 | }, |
11 | { | |
12 | text: gettext('Delete'), | |
365f84c1 | 13 | iconCls: 'fa fa-fw fa-trash-o critical', |
c627f092 | 14 | action: 'delete', |
c87d46fb | 15 | handler: 'callCallback', |
c627f092 DC |
16 | }, |
17 | { xtype: 'menuseparator' }, | |
18 | { | |
19 | text: gettext('Whitelist'), | |
20 | iconCls: 'fa fa-fw fa-check', | |
21 | action: 'whitelist', | |
24c650b5 | 22 | handler: 'callCallback', |
c627f092 DC |
23 | }, |
24 | { | |
25 | text: gettext('Blacklist'), | |
26 | iconCls: 'fa fa-fw fa-times', | |
27 | action: 'blacklist', | |
24c650b5 | 28 | handler: 'callCallback', |
c87d46fb TL |
29 | }, |
30 | ], | |
c627f092 | 31 | }); |