usersDialog: update order of columns

This commit is contained in:
rolux 2012-04-19 14:26:52 +00:00
parent e80aa30746
commit 6e1435734c

View file

@ -126,6 +126,26 @@ pandora.ui.usersDialog = function() {
visible: true, visible: true,
width: 16 width: 16
}, },
{
format: function(value) {
return $('<img>')
.attr({
src: Ox.UI.getImageURL('symbolMail')
})
.css({
width: '10px',
height: '10px',
padding: '3px',
opacity: +value
});
},
id: 'newsletter',
title: 'Newsletter',
titleImage: 'mail',
operator: '-',
visible: true,
width: 16
},
{ {
format: function(value, data) { format: function(value, data) {
return '<span style="opacity: ' + ( return '<span style="opacity: ' + (
@ -167,26 +187,6 @@ pandora.ui.usersDialog = function() {
visible: true, visible: true,
width: 60 width: 60
}, },
{
format: function(value) {
return $('<img>')
.attr({
src: Ox.UI.getImageURL('symbolMail')
})
.css({
width: '10px',
height: '10px',
padding: '3px',
opacity: +value
});
},
id: 'newsletter',
title: 'Newsletter',
titleImage: 'mail',
operator: '-',
visible: true,
width: 16
},
{ {
format: function(value) { format: function(value) {
return Ox.Element({ return Ox.Element({