mirror of
https://github.com/lidarr/lidarr.git
synced 2025-08-14 02:37:08 -07:00
Improved PushBullet implementation (v2 API, multiple devices, channels)
New: PushBullet supports multiple devices New: PushBullet channels Closes #641
This commit is contained in:
parent
120be567d3
commit
77e9493ccf
12 changed files with 312 additions and 37 deletions
|
@ -32,6 +32,10 @@ var _fieldBuilder = function(field) {
|
|||
return _templateRenderer.call(field, 'Form/PathTemplate');
|
||||
}
|
||||
|
||||
if (field.type === 'tag') {
|
||||
return _templateRenderer.call(field, 'Form/TagTemplate');
|
||||
}
|
||||
|
||||
return _templateRenderer.call(field, 'Form/TextboxTemplate');
|
||||
};
|
||||
|
||||
|
|
9
src/UI/Form/TagTemplate.hbs
Normal file
9
src/UI/Form/TagTemplate.hbs
Normal file
|
@ -0,0 +1,9 @@
|
|||
<div class="form-group {{#if advanced}}advanced-setting{{/if}}">
|
||||
<label class="col-sm-3 control-label">{{label}}</label>
|
||||
|
||||
<div class="col-sm-5">
|
||||
<input type="text" name="fields.{{order}}.value" validation-name="{{name}}" class="form-control x-form-tag"/>
|
||||
</div>
|
||||
|
||||
{{> FormHelpPartial}}
|
||||
</div>
|
Loading…
Add table
Add a link
Reference in a new issue