mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
updated media library text
This commit is contained in:
parent
d3951c232a
commit
511a5d9c3d
3 changed files with 5 additions and 3 deletions
|
@ -20,8 +20,7 @@
|
||||||
<label for="chkUseDefaultLibrary">Use default media library</label>
|
<label for="chkUseDefaultLibrary">Use default media library</label>
|
||||||
</p>
|
</p>
|
||||||
<div id="divMediaLibrary">
|
<div id="divMediaLibrary">
|
||||||
<p>Below are your media collections. Expand a collection to add or remove media locations assigned to it.</p>
|
<p class="editing_default">This is the <strong>default media library</strong> that will be shared with all users unless they setup their own.</p>
|
||||||
<p class="editing_default">This is the <strong>default media library</strong> that will be shared with all users unless they setup their own.</p>
|
|
||||||
<p>
|
<p>
|
||||||
<button type="button" data-icon="plus" onclick="MediaLibraryPage.addVirtualFolder();">Add media collection</button>
|
<button type="button" data-icon="plus" onclick="MediaLibraryPage.addVirtualFolder();">Add media collection</button>
|
||||||
</p>
|
</p>
|
||||||
|
|
|
@ -29,6 +29,7 @@
|
||||||
if (user.Configuration.UseCustomLibrary) {
|
if (user.Configuration.UseCustomLibrary) {
|
||||||
|
|
||||||
ApiClient.getVirtualFolders(userId).done(MediaLibraryPage.reloadVirtualFolders);
|
ApiClient.getVirtualFolders(userId).done(MediaLibraryPage.reloadVirtualFolders);
|
||||||
|
$(".editing_default").hide();
|
||||||
$('#divMediaLibrary', page).show();
|
$('#divMediaLibrary', page).show();
|
||||||
} else {
|
} else {
|
||||||
$('#divMediaLibrary', page).hide();
|
$('#divMediaLibrary', page).hide();
|
||||||
|
@ -118,6 +119,8 @@
|
||||||
user.Configuration.UseCustomLibrary = !useDefaultLibrary;
|
user.Configuration.UseCustomLibrary = !useDefaultLibrary;
|
||||||
|
|
||||||
ApiClient.updateUser(user).done(MediaLibraryPage.reloadLibrary);
|
ApiClient.updateUser(user).done(MediaLibraryPage.reloadLibrary);
|
||||||
|
|
||||||
|
$(".editing_default").hide();
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
|
|
||||||
|
|
|
@ -17,7 +17,7 @@
|
||||||
<label for="chkUseDefaultLibrary">Use default media library</label>
|
<label for="chkUseDefaultLibrary">Use default media library</label>
|
||||||
</p>
|
</p>
|
||||||
<div id="divMediaLibrary">
|
<div id="divMediaLibrary">
|
||||||
<p>Below are your media collections. Expand a collection to add or remove media locations assigned to it.</p>
|
<p class="editing_default">This is the <strong>default media library</strong> that will be shared with all users unless they setup their own.</p>
|
||||||
<p>
|
<p>
|
||||||
<button type="button" data-icon="plus" onclick="MediaLibraryPage.addVirtualFolder();">Add media collection</button>
|
<button type="button" data-icon="plus" onclick="MediaLibraryPage.addVirtualFolder();">Add media collection</button>
|
||||||
</p>
|
</p>
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue