extra text, user profile sidebar highlight when comming from that section to media library

This commit is contained in:
Techywarrior 2013-04-02 16:42:17 -07:00
parent e2cc657ac7
commit 14b5d4fe8a
2 changed files with 9 additions and 1 deletions

View file

@ -1,5 +1,5 @@
<!DOCTYPE html>
<html>
<html xmlns="http://www.w3.org/1999/html">
<head>
<title> </title>
</head>
@ -21,6 +21,7 @@
</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>

View file

@ -20,6 +20,13 @@
$('#userProfileNavigation', page).show();
ApiClient.getUser(userId).done(function (user) {
//I don't really like this hack - Craig
$("div.sidebarLinks a").removeClass("selectedSidebarLink");
$("div.sidebarLinks a").each(function(){
if ($(this).attr("href")=="userprofiles.html") {
$(this).addClass("selectedSidebarLink");
}
});
Dashboard.setPageTitle(user.Name);