updated media library text

This commit is contained in:
Techywarrior 2013-04-02 21:31:34 -07:00
parent d3951c232a
commit 511a5d9c3d
3 changed files with 5 additions and 3 deletions

View file

@ -20,8 +20,7 @@
<label for="chkUseDefaultLibrary">Use default media library</label>
</p>
<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>
<button type="button" data-icon="plus" onclick="MediaLibraryPage.addVirtualFolder();">Add media collection</button>
</p>

View file

@ -29,6 +29,7 @@
if (user.Configuration.UseCustomLibrary) {
ApiClient.getVirtualFolders(userId).done(MediaLibraryPage.reloadVirtualFolders);
$(".editing_default").hide();
$('#divMediaLibrary', page).show();
} else {
$('#divMediaLibrary', page).hide();
@ -118,6 +119,8 @@
user.Configuration.UseCustomLibrary = !useDefaultLibrary;
ApiClient.updateUser(user).done(MediaLibraryPage.reloadLibrary);
$(".editing_default").hide();
});
},

View file

@ -17,7 +17,7 @@
<label for="chkUseDefaultLibrary">Use default media library</label>
</p>
<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>
<button type="button" data-icon="plus" onclick="MediaLibraryPage.addVirtualFolder();">Add media collection</button>
</p>