1
0
mirror of https://github.com/Radarr/Radarr.git synced 2026-04-23 22:25:14 -04:00

UI Cleanup - Updated Cells subtree.

This commit is contained in:
Taloth Saldono
2015-02-13 22:04:39 +01:00
parent 83b8ab8fe9
commit 7b5c0a952b
23 changed files with 334 additions and 143 deletions
+7 -4
View File
@@ -2,16 +2,19 @@ var NzbDroneCell = require('./NzbDroneCell');
module.exports = NzbDroneCell.extend({
className : 'release-title-cell',
render : function(){
render : function() {
this.$el.empty();
var title = this.model.get('title');
var infoUrl = this.model.get('infoUrl');
if(infoUrl) {
if (infoUrl) {
this.$el.html('<a href="{0}">{1}</a>'.format(infoUrl, title));
}
else {
} else {
this.$el.html(title);
}
return this;
}
});