mirror of
https://github.com/Readarr/Readarr.git
synced 2026-04-17 21:25:39 -04:00
New: Option to show unmonitored episodes on calendar
This commit is contained in:
@@ -24,6 +24,10 @@ module.exports = Marionette.Layout.extend({
|
||||
throw 'context needs to be passed';
|
||||
}
|
||||
|
||||
this.templateHelpers = {
|
||||
floatOnMobile : options.floatOnMobile || false
|
||||
};
|
||||
|
||||
this.left = options.left;
|
||||
this.right = options.right;
|
||||
this.toolbarContext = options.context;
|
||||
@@ -51,7 +55,7 @@ module.exports = Marionette.Layout.extend({
|
||||
|
||||
_.each(buttonGroup.items, function(button) {
|
||||
if (buttonGroup.storeState && !button.key) {
|
||||
throw 'must provide key for all buttons when storSstate is enabled';
|
||||
throw 'must provide key for all buttons when storeState is enabled';
|
||||
}
|
||||
|
||||
var model = new ButtonModel(button);
|
||||
|
||||
@@ -1,2 +1,2 @@
|
||||
<div class="page-toolbar pull-left pull-none-xs x-toolbar-left" />
|
||||
<div class="page-toolbar pull-right pull-none-xs x-toolbar-right" />
|
||||
<div class="page-toolbar pull-left {{#unless floatOnMobile}}pull-none-xs{{/unless}} x-toolbar-left" />
|
||||
<div class="page-toolbar pull-right {{#unless floatOnMobile}}pull-none-xs{{/unless}} x-toolbar-right" />
|
||||
|
||||
Reference in New Issue
Block a user