1
0
mirror of https://github.com/Radarr/Radarr.git synced 2026-04-17 21:26:22 -04:00
Files
Radarr/src/UI/Cells/ReleaseTitleCell.js

24 lines
526 B
JavaScript

var NzbDroneCell = require('./NzbDroneCell');
module.exports = NzbDroneCell.extend({
className : 'release-title-cell',
render : function() {
this.$el.empty();
var title = this.model.get('title');
var infoUrl = this.model.get('infoUrl');
var flags = this.model.get("indexerFlags");
if (infoUrl) {
this.$el.html('<a href="{0}">{1}</a>'.format(infoUrl, title));
} else {
this.$el.html(title);
}
return this;
}
});