mirror of
https://github.com/jellyfin/jellyfin-web.git
synced 2024-11-18 03:18:19 -07:00
move metadata manager to navbar and out of server configuration
This commit is contained in:
parent
36ab9764ac
commit
3def2a935d
@ -189,6 +189,7 @@ define(["dom", "layoutManager", "inputManager", "connectionManager", "events", "
|
|||||||
html += globalize.translate("HeaderAdmin");
|
html += globalize.translate("HeaderAdmin");
|
||||||
html += "</h3>";
|
html += "</h3>";
|
||||||
html += '<a is="emby-linkbutton" class="navMenuOption lnkMediaFolder lnkManageServer" data-itemid="dashboard" href="dashboard.html"><i class="md-icon navMenuOptionIcon">dashboard</i><span class="navMenuOptionText">' + globalize.translate("TabDashboard") + "</span></a>";
|
html += '<a is="emby-linkbutton" class="navMenuOption lnkMediaFolder lnkManageServer" data-itemid="dashboard" href="dashboard.html"><i class="md-icon navMenuOptionIcon">dashboard</i><span class="navMenuOptionText">' + globalize.translate("TabDashboard") + "</span></a>";
|
||||||
|
html += '<a is="emby-linkbutton" class="navMenuOption lnkMediaFolder editorViewMenu" data-itemid="editor" href="edititemmetadata.html"><i class="md-icon navMenuOptionIcon">mode_edit</i><span class="navMenuOptionText">' + globalize.translate("MetadataManager") + "</span></a>";
|
||||||
html += "</div>";
|
html += "</div>";
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -271,7 +272,7 @@ define(["dom", "layoutManager", "inputManager", "connectionManager", "events", "
|
|||||||
pageIds: ["dashboardPage", "serverActivityPage"],
|
pageIds: ["dashboardPage", "serverActivityPage"],
|
||||||
icon: "dashboard"
|
icon: "dashboard"
|
||||||
}, {
|
}, {
|
||||||
name: globalize.translate("TabSettings"),
|
name: globalize.translate("General"),
|
||||||
href: "dashboardgeneral.html",
|
href: "dashboardgeneral.html",
|
||||||
pageIds: ["dashboardGeneralPage"],
|
pageIds: ["dashboardGeneralPage"],
|
||||||
icon: "settings"
|
icon: "settings"
|
||||||
@ -373,12 +374,6 @@ define(["dom", "layoutManager", "inputManager", "connectionManager", "events", "
|
|||||||
pageIds: ["scheduledTasksPage", "scheduledTaskPage"],
|
pageIds: ["scheduledTasksPage", "scheduledTaskPage"],
|
||||||
icon: "schedule"
|
icon: "schedule"
|
||||||
});
|
});
|
||||||
links.push({
|
|
||||||
name: globalize.translate("MetadataManager"),
|
|
||||||
href: "edititemmetadata.html",
|
|
||||||
pageIds: [],
|
|
||||||
icon: "mode_edit"
|
|
||||||
});
|
|
||||||
addPluginPagesToMainMenu(links, pluginItems);
|
addPluginPagesToMainMenu(links, pluginItems);
|
||||||
return links;
|
return links;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user