Removed airdate cell (merge conflict)
This commit is contained in:
parent
9ba0623987
commit
3f03a0854a
|
@ -1,26 +0,0 @@
|
|||
'use strict';
|
||||
define(
|
||||
[
|
||||
'backgrid',
|
||||
'moment',
|
||||
'Shared/FormatHelpers'
|
||||
], function (Backgrid, Moment, FormatHelpers) {
|
||||
return Backgrid.Cell.extend({
|
||||
className: 'air-date-cell',
|
||||
|
||||
render: function () {
|
||||
|
||||
this.$el.empty();
|
||||
var date = this.model.get(this.column.get('name'));
|
||||
|
||||
if (date) {
|
||||
this.$el.html(FormatHelpers.DateHelper(date));
|
||||
|
||||
this.$el.attr('title', Moment(date).format('LLLL'));
|
||||
}
|
||||
|
||||
return this;
|
||||
|
||||
}
|
||||
});
|
||||
});
|
Loading…
Reference in New Issue