update changelog dialog

This commit is contained in:
rolux 2014-12-17 12:19:42 +00:00
parent 61d8896288
commit bdaf477a38

View file

@ -73,17 +73,6 @@ pandora.ui.changelogDialog = function() {
visible: false
},
{
format: function(value) {
return Ox.encodeHTMLEntities(value);
},
id: 'user',
operator: '+',
title: Ox._('User'),
visible: true,
width: 72
},
{
align: 'right',
format: function(value) {
return Ox.formatDate(value, "%Y-%m-%d %H:%M:%S");
},
@ -91,23 +80,40 @@ pandora.ui.changelogDialog = function() {
operator: '-',
title: Ox._('Date'),
visible: true,
width: 144
},
{
format: function(value, data) {
return formatURL(value, data.line);
},
id: 'changeid',
operator: '+',
title: Ox._('ID'),
visible: true,
width: 320
width: 160
},
{
format: function(value) {
return Ox.encodeHTMLEntities(value);
},
id: 'text',
id: 'user',
operator: '+',
title: Ox._('User'),
visible: true,
width: 160
},
{
id: 'action',
operator: '+',
title: Ox._('Action'),
visible: true,
width: 160
},
{
format: function(value, data) {
return value; // FIXME: TODO
},
id: 'changeid',
operator: '+',
title: Ox._('ID'),
visible: true,
width: 80
},
{
format: function(value) {
return Ox.encodeHTMLEntities(JSON.stringify(value));
},
id: 'data',
operator: '+',
title: Ox._('Data'),
visible: true,
@ -118,7 +124,6 @@ pandora.ui.changelogDialog = function() {
columnsResizable: true,
columnsVisible: true,
items: pandora.api.findChangeLogs,
keys: ['line'],
scrollbarVisible: true,
sort: [{key: 'created', operator: '-'}],
unique: 'id'