Add link to Activity -> History Tab (#408)

Fixes #365
Tim Turner 8 years ago committed by GitHub
parent 23232b9830
commit 692841478c

@ -1,7 +1,7 @@
var Marionette = require('marionette'); var Marionette = require('marionette');
var Backgrid = require('backgrid'); var Backgrid = require('backgrid');
var QueueCollection = require('./QueueCollection'); var QueueCollection = require('./QueueCollection');
var SeriesTitleCell = require('../../Cells/MovieTitleCell'); var MovieTitleCell = require('../../Cells/MovieTitleCell');
var EpisodeNumberCell = require('../../Cells/EpisodeNumberCell'); var EpisodeNumberCell = require('../../Cells/EpisodeNumberCell');
var EpisodeTitleCell = require('../../Cells/EpisodeTitleCell'); var EpisodeTitleCell = require('../../Cells/EpisodeTitleCell');
var QualityCell = require('../../Cells/QualityCell'); var QualityCell = require('../../Cells/QualityCell');
@ -30,7 +30,7 @@ module.exports = Marionette.Layout.extend({
{ {
name : 'movie', name : 'movie',
label : 'Movie', label : 'Movie',
cell : SeriesTitleCell cell : MovieTitleCell
}, },
/*{ /*{
name : 'episode', name : 'episode',

@ -6,9 +6,7 @@ module.exports = TemplatedCell.extend({
render : function() { render : function() {
this.$el.html(this.model.get("movie").get("title")); //Hack, but somehow handlebar helper does not work. this.$el.html('<a href="movies/' + this.model.get("movie").get("titleSlug") +'">' + this.model.get("movie").get("title") + '</a>'); //Hack, but somehow handlebar helper does not work.
debugger;
return this; return this;
} }
}); });

Loading…
Cancel
Save