1
0
Fork 0
mirror of https://github.com/jellyfin/jellyfin-web synced 2025-03-30 19:56:21 +00:00

add download button to context menu

This commit is contained in:
Luke Pulverenti 2015-12-29 11:12:47 -05:00
parent 1ec6da7e88
commit dbfe037f6e

View file

@ -260,6 +260,16 @@
}); });
} }
if (user.Policy.EnableContentDownloading) {
if (mediaType) {
items.push({
name: Globalize.translate('ButtonDownload'),
id: 'download',
ironIcon: 'file-download'
});
}
}
if (commands.indexOf('delete') != -1) { if (commands.indexOf('delete') != -1) {
items.push({ items.push({
name: Globalize.translate('ButtonDelete'), name: Globalize.translate('ButtonDelete'),