mirror of
https://github.com/lidarr/lidarr.git
synced 2025-08-14 10:47:08 -07:00
Notification settings added to the UI
This commit is contained in:
parent
a153599d50
commit
c5376319fe
21 changed files with 168 additions and 35 deletions
|
@ -12,6 +12,14 @@ Handlebars.registerHelper('formField', function () {
|
|||
return Handlebars.helpers.partial.apply(this, ['Form/TextboxTemplate']);
|
||||
}
|
||||
|
||||
if (this.type === 'password') {
|
||||
return Handlebars.helpers.partial.apply(this, ['Form/PasswordTemplate']);
|
||||
}
|
||||
|
||||
if (this.type === 'checkbox') {
|
||||
return Handlebars.helpers.partial.apply(this, ['Form/CheckboxTemplate']);
|
||||
}
|
||||
|
||||
return Handlebars.helpers.partial.apply(this, ['Form/TextboxTemplate']);
|
||||
});
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue