Added info to explain Generic providers such as Newznab.

pull/3113/head
Taloth Saldono 10 years ago
parent 33ed76556f
commit 1837ba94cc

@ -39,7 +39,7 @@ module.exports = Marionette.ItemView.extend({
}, },
_add : function(e) { _add : function(e) {
if ($(e.target).closest('.btn,.btn-group').length !== 0) { if ($(e.target).closest('.btn,.btn-group').length !== 0 && $(e.target).closest('.x-custom').length === 0) {
return; return;
} }

@ -4,6 +4,9 @@
</div> </div>
<div class="pull-right"> <div class="pull-right">
{{#if_gt presets.length compare=0}} {{#if_gt presets.length compare=0}}
<button class="btn btn-xs btn-default x-custom">
Custom
</button>
<div class="btn-group"> <div class="btn-group">
<button class="btn btn-xs btn-default dropdown-toggle" data-toggle="dropdown"> <button class="btn btn-xs btn-default dropdown-toggle" data-toggle="dropdown">
Presets Presets

@ -4,6 +4,10 @@
<h3>Add Indexer</h3> <h3>Add Indexer</h3>
</div> </div>
<div class="modal-body"> <div class="modal-body">
<div class="alert alert-info">
Sonarr supports any indexer that uses the Newznab standard, as well as other indexers listed below.<br/>
For more information on the individual indexers, clink on the info buttons.
</div>
<div class="add-indexer add-thingies"> <div class="add-indexer add-thingies">
<ul class="items"></ul> <ul class="items"></ul>
</div> </div>

@ -28,7 +28,7 @@ module.exports = Marionette.ItemView.extend({
}, },
_add : function(e) { _add : function(e) {
if ($(e.target).closest('.btn,.btn-group').length !== 0) { if ($(e.target).closest('.btn,.btn-group').length !== 0 && $(e.target).closest('.x-custom').length === 0) {
return; return;
} }

@ -4,6 +4,9 @@
</div> </div>
<div class="pull-right"> <div class="pull-right">
{{#if_gt presets.length compare=0}} {{#if_gt presets.length compare=0}}
<button class="btn btn-xs btn-default x-custom">
Custom
</button>
<div class="btn-group"> <div class="btn-group">
<button class="btn btn-xs btn-default dropdown-toggle" data-toggle="dropdown"> <button class="btn btn-xs btn-default dropdown-toggle" data-toggle="dropdown">
Presets Presets

@ -41,7 +41,7 @@ module.exports = Marionette.ItemView.extend({
}, },
_add : function(e) { _add : function(e) {
if ($(e.target).closest('.btn,.btn-group').length !== 0) { if ($(e.target).closest('.btn,.btn-group').length !== 0 && $(e.target).closest('.x-custom').length === 0) {
return; return;
} }

@ -4,6 +4,9 @@
</div> </div>
<div class="pull-right"> <div class="pull-right">
{{#if_gt presets.length compare=0}} {{#if_gt presets.length compare=0}}
<button class="btn btn-xs btn-default x-custom">
Custom
</button>
<div class="btn-group"> <div class="btn-group">
<button class="btn btn-xs btn-default dropdown-toggle" data-toggle="dropdown"> <button class="btn btn-xs btn-default dropdown-toggle" data-toggle="dropdown">
Presets Presets

Loading…
Cancel
Save