]>
git.proxmox.com Git - extjs.git/blob - extjs/templates/admin-dashboard/modern/src/view/tablet/email/Inbox.js
1 Ext
.define('Admin.view.tablet.email.Inbox', {
2 extend
: 'Ext.grid.Grid',
3 // xtype is assigned by the tablet profile
6 'Ext.grid.plugin.MultiSelection'
12 userCls
: 'inbox-{record.read:pick("unread","read")}'
17 type
: 'gridmultiselection',
21 width
: 40 // Change column width from the default of 60px
29 text
: '<span class="x-fa fa-heart"></span>',
32 dataIndex
: 'favorite',
33 userCls
: 'inbox-favorite-icon',
38 innerCls
: 'x-fa {record.favorite:pick("fa-heart-o", "fa-heart inbox-favorite-icon")}'
42 // Return nothing so the boolean value is not published
43 // The column remains sortable, while still displaying the image
52 innerCls
: 'inbox-from'
60 innerCls
: 'inbox-title'
64 text
: '<span class="x-fa fa-paperclip"></span>',
67 dataIndex
: 'has_attachments',
71 innerCls
: 'x-fa {record.has_attachments:pick("", "fa-paperclip")}'
75 // Return nothing so the boolean value is not published
76 // The column remains sortable, while still displaying the image
84 dataIndex
: 'received_on',