1
0
mirror of https://github.com/Radarr/Radarr.git synced 2026-04-18 21:35:51 -04:00

added mail toolbar to series view

This commit is contained in:
kay.one
2013-05-11 13:51:32 -07:00
parent 57e78e31fe
commit ff225e1753
5 changed files with 121 additions and 15 deletions
+29 -2
View File
@@ -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
}));
}
})