mirror of
https://github.com/Readarr/Readarr
synced 2026-01-02 21:53:18 +01:00
This fixes and implements many items on the ArtistIndex Page and ArtistDetailPage * Create ArtistStatistics Core Module and tie into API. * Create Members Class and tie into ArtistModel and Artist API resource. * Finish Out Album API resources and pass to ArtistDetailPage. * Finish Out Track and TrackFile API resources and pass to ArtistDetailPage. * Lots of UI work on Artist Detail Page to get Albums and Track list working. * Add Cover and Disc Image Types to MediaCover Class * Remove AddSeries UI Flow, since we have replaced with AddArtist (Cleanup)
29 lines
No EOL
677 B
JavaScript
29 lines
No EOL
677 B
JavaScript
var vent = require('vent');
|
|
var NzbDroneCell = require('./NzbDroneCell');
|
|
|
|
module.exports = NzbDroneCell.extend({
|
|
className : 'track-title-cell',
|
|
|
|
events : {
|
|
'click' : '_showDetails'
|
|
},
|
|
|
|
render : function() {
|
|
var title = this.cellValue.get('title');
|
|
|
|
if (!title || title === '') {
|
|
title = 'TBA';
|
|
}
|
|
|
|
this.$el.html(title);
|
|
return this;
|
|
},
|
|
|
|
_showDetails : function() {
|
|
var hideArtistLink = this.column.get('hideArtistLink');
|
|
vent.trigger(vent.Commands.ShowTrackDetails, {
|
|
track : this.cellValue,
|
|
hideArtistLink : hideArtistLink
|
|
});
|
|
}
|
|
}); |