mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
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>
|
<!DOCTYPE html>
|
||||||
<html>
|
<html xmlns="http://www.w3.org/1999/html">
|
||||||
<head>
|
<head>
|
||||||
<title> </title>
|
<title> </title>
|
||||||
</head>
|
</head>
|
||||||
|
@ -21,6 +21,7 @@
|
||||||
</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>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>
|
||||||
|
|
|
@ -20,6 +20,13 @@
|
||||||
$('#userProfileNavigation', page).show();
|
$('#userProfileNavigation', page).show();
|
||||||
|
|
||||||
ApiClient.getUser(userId).done(function (user) {
|
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);
|
Dashboard.setPageTitle(user.Name);
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue