mirror of
https://github.com/lidarr/lidarr.git
synced 2025-07-16 10:03:51 -07: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:
parent
420e6ee533
commit
6c9ea60382
7 changed files with 106 additions and 55 deletions
|
@ -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});
|
||||
}
|
||||
});
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue