mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
update listviews
This commit is contained in:
parent
d9c694f564
commit
f3cde16786
51 changed files with 402 additions and 333 deletions
|
@ -39,20 +39,24 @@ define(['apphost', 'globalize', 'connectionManager', 'itemHelper', 'embyRouter',
|
|||
});
|
||||
}
|
||||
|
||||
if (options.edit !== false) {
|
||||
if (itemHelper.canEdit(user, item.Type)) {
|
||||
if (itemHelper.canEdit(user, item.Type)) {
|
||||
|
||||
if (!isTheater) {
|
||||
if (!isTheater) {
|
||||
if (options.edit !== false) {
|
||||
commands.push({
|
||||
name: globalize.translate('sharedcomponents#EditInfo'),
|
||||
id: 'edit'
|
||||
});
|
||||
}
|
||||
if (options.editImages !== false) {
|
||||
commands.push({
|
||||
name: globalize.translate('sharedcomponents#EditImages'),
|
||||
id: 'editimages'
|
||||
});
|
||||
}
|
||||
if (item.MediaType == 'Video' && item.Type != 'TvChannel' && item.Type != 'Program' && item.LocationType != 'Virtual') {
|
||||
}
|
||||
if (item.MediaType == 'Video' && item.Type != 'TvChannel' && item.Type != 'Program' && item.LocationType != 'Virtual') {
|
||||
if (options.editSubtitles !== false) {
|
||||
commands.push({
|
||||
name: globalize.translate('sharedcomponents#EditSubtitles'),
|
||||
id: 'editsubtitles'
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue