mirror of
https://github.com/lidarr/lidarr.git
synced 2025-07-16 10:03:51 -07:00
added mail toolbar to series view
This commit is contained in:
parent
57e78e31fe
commit
ff225e1753
5 changed files with 121 additions and 15 deletions
|
@ -111,7 +111,7 @@ define([
|
|||
|
||||
var viewButtons = {
|
||||
type : 'radio',
|
||||
storeState : 'true',
|
||||
storeState : true,
|
||||
menuKey : 'seriesViewMode',
|
||||
defaultAction: 'listView',
|
||||
items : [
|
||||
|
@ -136,7 +136,34 @@ define([
|
|||
]
|
||||
};
|
||||
|
||||
this.toolbar.show(new NzbDrone.Shared.Toolbar.ToolbarLayout({right: [ viewButtons], context: this}));
|
||||
|
||||
var leftSideButtons = {
|
||||
type : 'default',
|
||||
storeState: false,
|
||||
items : [
|
||||
{
|
||||
title: 'Add Series',
|
||||
icon : 'icon-plus',
|
||||
route: 'series/add'
|
||||
},
|
||||
{
|
||||
title : 'RSS Sync',
|
||||
icon : 'icon-rss',
|
||||
command: 'rsssync'
|
||||
},
|
||||
{
|
||||
title : 'Update Library',
|
||||
icon : 'icon-refresh',
|
||||
command: 'updatelibrary'
|
||||
}
|
||||
]
|
||||
};
|
||||
|
||||
this.toolbar.show(new NzbDrone.Shared.Toolbar.ToolbarLayout({
|
||||
right : [ viewButtons],
|
||||
left : [ leftSideButtons],
|
||||
context: this
|
||||
}));
|
||||
}
|
||||
|
||||
})
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue