extra text, user profile sidebar highlight when comming from that section to media library
This commit is contained in:
parent
e2cc657ac7
commit
14b5d4fe8a
2 changed files with 9 additions and 1 deletions
|
@ -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>
|
||||
|
|
|
@ -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);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue