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