mirror of
https://github.com/Readarr/Readarr.git
synced 2026-04-19 21:44:30 -04:00
Removed delete button from series lists, added refresh button
New: Refresh button on series lists (replaces delete) New: Show series title on poster on hover
This commit is contained in:
@@ -3,26 +3,10 @@
|
||||
define(
|
||||
[
|
||||
'vent',
|
||||
'marionette'
|
||||
], function (vent, Marionette) {
|
||||
return Marionette.ItemView.extend({
|
||||
'marionette',
|
||||
'Series/Index/SeriesIndexItemView'
|
||||
], function (vent, Marionette, SeriesIndexItemView) {
|
||||
return SeriesIndexItemView.extend({
|
||||
template: 'Series/Index/Overview/SeriesOverviewItemViewTemplate',
|
||||
|
||||
ui: {
|
||||
'progressbar': '.progress .bar'
|
||||
},
|
||||
|
||||
events: {
|
||||
'click .x-edit' : 'editSeries',
|
||||
'click .x-remove': 'removeSeries'
|
||||
},
|
||||
|
||||
editSeries: function () {
|
||||
vent.trigger(vent.Commands.EditSeriesCommand, {series: this.model});
|
||||
},
|
||||
|
||||
removeSeries: function () {
|
||||
vent.trigger(vent.Commands.DeleteSeriesCommand, {series: this.model});
|
||||
}
|
||||
});
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user