Prowlarr/src/UI/ManualImport/Cells/PathCell.js
2015-05-05 08:41:39 -07:00

16 lines
No EOL
393 B
JavaScript

var NzbDroneCell = require('../../Cells/NzbDroneCell');
module.exports = NzbDroneCell.extend({
className : 'path-cell',
render : function() {
this.$el.empty();
var relativePath = this.model.get('relativePath');
var path = this.model.get('path');
this.$el.html('<div title="{0}">{1}</div>'.format(path, relativePath));
return this;
}
});