1
0
mirror of https://github.com/Radarr/Radarr.git synced 2024-11-09 12:32:31 +01: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) { _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;
} }

View File

@ -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

View File

@ -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>

View File

@ -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;
} }

View File

@ -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

View File

@ -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;
} }

View File

@ -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