1
0
mirror of https://github.com/Sonarr/Sonarr.git synced 2024-12-16 11:37:58 +02:00

Added info to explain Generic providers such as Newznab.

This commit is contained in:
Taloth Saldono 2015-02-17 20:27:42 +01:00
parent 33ed76556f
commit 1837ba94cc
7 changed files with 16 additions and 3 deletions

View File

@ -39,7 +39,7 @@ module.exports = Marionette.ItemView.extend({
},
_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;
}

View File

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

View File

@ -4,6 +4,10 @@
<h3>Add Indexer</h3>
</div>
<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">
<ul class="items"></ul>
</div>

View File

@ -28,7 +28,7 @@ module.exports = Marionette.ItemView.extend({
},
_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;
}

View File

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

View File

@ -41,7 +41,7 @@ module.exports = Marionette.ItemView.extend({
},
_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;
}

View File

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