mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
fixes #1615 - Allow to "mark as watched" when using multi-select.
This commit is contained in:
parent
73b495f48c
commit
cc2f05c679
2 changed files with 25 additions and 1 deletions
|
@ -1157,6 +1157,16 @@
|
|||
ironIcon: 'call-merge'
|
||||
});
|
||||
|
||||
items.push({
|
||||
name: Globalize.translate('MarkPlayed'),
|
||||
id: 'markplayed'
|
||||
});
|
||||
|
||||
items.push({
|
||||
name: Globalize.translate('MarkUnplayed'),
|
||||
id: 'markunplayed'
|
||||
});
|
||||
|
||||
items.push({
|
||||
name: Globalize.translate('ButtonRefresh'),
|
||||
id: 'refresh',
|
||||
|
@ -1203,6 +1213,18 @@
|
|||
case 'groupvideos':
|
||||
combineVersions($.mobile.activePage, items);
|
||||
break;
|
||||
case 'markplayed':
|
||||
items.forEach(function(itemId) {
|
||||
ApiClient.markPlayed(Dashboard.getCurrentUserId(), itemId);
|
||||
});
|
||||
hideSelections();
|
||||
break;
|
||||
case 'markunplayed':
|
||||
items.forEach(function (itemId) {
|
||||
ApiClient.markUnplayed(Dashboard.getCurrentUserId(), itemId);
|
||||
});
|
||||
hideSelections();
|
||||
break;
|
||||
case 'refresh':
|
||||
items.map(function (itemId) {
|
||||
|
||||
|
|
|
@ -2334,5 +2334,7 @@
|
|||
"OptionRequirePerfectSubtitleMatch": "Only download subtitles that are a perfect match for my video files",
|
||||
"ErrorAddingGuestAccount1": "There was an error adding the Emby Connect account. Has your guest created an Emby account? They can sign up at {0}.",
|
||||
"ErrorAddingGuestAccount2": "Please ensure your guest has completed activation by following the instructions in the email sent after creating the account. If they did not receive this email then please send an email to {0}, and include your email address as well as theirs.",
|
||||
"GuestUserNotFound": "User not found. Please ensure the name is correct and try again, or try entering their email address."
|
||||
"GuestUserNotFound": "User not found. Please ensure the name is correct and try again, or try entering their email address.",
|
||||
"MarkPlayed": "Mark played",
|
||||
"MarkUnplayed": "Mark unplayed"
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue