mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
Add option to enable/disable libraries
This commit adds the option to enable/disable libraries from the library options editor. The backend changes required for this functionality are in jellyfin PR 11037. This commit adds a checkbox in the library options editor. It adds a checkbox saying "Library Enabled" that is checked by default. libraryoptionseditor.js - added logic to handle enable libraries checkbox. Enables libraries by default libraryoptionseditor.template.html - added "enable libraries" checkbox src/strings/en-us.json - added English strings for enable library checkbox.
This commit is contained in:
parent
6c8967110e
commit
60fc2c72b2
4 changed files with 13 additions and 0 deletions
|
@ -1,4 +1,12 @@
|
|||
<h2>${HeaderLibrarySettings}</h2>
|
||||
<div class="checkboxContainer checkboxContainer-withDescription chkEnable">
|
||||
<label>
|
||||
<input type="checkbox" is="emby-checkbox" class="chkEnabled" checked />
|
||||
<span>${EnableLibrary}</span>
|
||||
</label>
|
||||
<div class="fieldDescription checkboxFieldDescription">${EnableLibraryHelp}</div>
|
||||
</div>
|
||||
|
||||
<div class="selectContainer fldMetadataLanguage hide">
|
||||
<select is="emby-select" id="selectLanguage" label="${LabelMetadataDownloadLanguage}"></select>
|
||||
</div>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue