mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
add subtitle management page
This commit is contained in:
parent
04e69d03e9
commit
f7e9566f8f
9 changed files with 474 additions and 0 deletions
|
@ -15,6 +15,7 @@
|
|||
var query = MetadataEditor.getEditQueryString(item);
|
||||
|
||||
$('#btnEditImages', page).attr('href', 'edititemimages.html?' + query);
|
||||
$('#btnEditSubtitles', page).attr('href', 'edititemsubtitles.html?' + query);
|
||||
$('#btnEditCollectionTitles', page).attr('href', 'editcollectionitems.html?' + query);
|
||||
}
|
||||
|
||||
|
@ -75,6 +76,12 @@
|
|||
$('#btnEditCollectionTitles', page).hide();
|
||||
}
|
||||
|
||||
if (item.MediaType == "Video" && item.LocationType == "FileSystem") {
|
||||
$('#btnEditSubtitles', page).show();
|
||||
} else {
|
||||
$('#btnEditSubtitles', page).hide();
|
||||
}
|
||||
|
||||
Dashboard.getCurrentUser().done(function (user) {
|
||||
|
||||
if (user.Configuration.EnableContentDeletion &&
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue