Press n or j to go to the next uncovered block, b, p or k for the previous block.
| 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 | 32x 32x 76x 76x 76x 76x 76x | /* global define */
define(['oro/translator', 'backgrid', 'pim/template/datagrid/cell/history-diff-cell'],
function(__, Backgrid, template) {
'use strict';
/**
* History diff column cell.
*
* @export oro/datagrid/history-diff-cell
* @class oro.datagrid.HistoryDiffCell
* @extends Backgrid.StringCell
*/
return Backgrid.StringCell.extend({
template: _.template(template),
/**
* {@inheritdoc}
*/
render: function () {
this.el.setAttribute('colspan', 4);
this.$el.empty();
this.$el.html(this.template({
changes: this.model.get(this.column.get('name')),
__
}));
this.delegateEvents();
return this;
},
});
});
|