mirror of
https://github.com/Radarr/Radarr
synced 2024-12-25 17:27:59 +00:00
Removed airdate cell (merge conflict)
This commit is contained in:
parent
9ba0623987
commit
3f03a0854a
1 changed files with 0 additions and 26 deletions
|
@ -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 a new issue