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

add multiselect help text

This commit is contained in:
Luke Pulverenti 2015-10-14 22:55:19 -04:00
parent 520cea9b43
commit 4d99db4b6b
7 changed files with 39 additions and 11 deletions

View file

@ -27,14 +27,14 @@
"web-component-tester": "*", "web-component-tester": "*",
"webcomponentsjs": "webcomponents/webcomponentsjs#^0.7.0" "webcomponentsjs": "webcomponents/webcomponentsjs#^0.7.0"
}, },
"homepage": "https://github.com/PolymerElements/iron-behaviors", "homepage": "https://github.com/polymerelements/iron-behaviors",
"_release": "1.0.9", "_release": "1.0.9",
"_resolution": { "_resolution": {
"type": "version", "type": "version",
"tag": "v1.0.9", "tag": "v1.0.9",
"commit": "4b8cab62a4916cc4b1dbd262cbb7eb1eec624b6f" "commit": "4b8cab62a4916cc4b1dbd262cbb7eb1eec624b6f"
}, },
"_source": "git://github.com/PolymerElements/iron-behaviors.git", "_source": "git://github.com/polymerelements/iron-behaviors.git",
"_target": "^1.0.0", "_target": "^1.0.0",
"_originalSource": "PolymerElements/iron-behaviors" "_originalSource": "polymerelements/iron-behaviors"
} }

View file

@ -24,14 +24,14 @@
"web-component-tester": "*" "web-component-tester": "*"
}, },
"private": true, "private": true,
"homepage": "https://github.com/Polymer/polymer", "homepage": "https://github.com/polymer/polymer",
"_release": "1.1.5", "_release": "1.1.5",
"_resolution": { "_resolution": {
"type": "version", "type": "version",
"tag": "v1.1.5", "tag": "v1.1.5",
"commit": "4c94736fac6681e84ec8c00da53484c5d3c2226b" "commit": "4c94736fac6681e84ec8c00da53484c5d3c2226b"
}, },
"_source": "git://github.com/Polymer/polymer.git", "_source": "git://github.com/polymer/polymer.git",
"_target": "^1.0.0", "_target": "^1.0.0",
"_originalSource": "Polymer/polymer" "_originalSource": "polymer/polymer"
} }

View file

@ -1222,7 +1222,7 @@ span.itemCommunityRating:not(:empty) + .userDataIcons {
left: 0; left: 0;
right: 0; right: 0;
height: 50px; height: 50px;
background: #388E3C; background: #43A047;
z-index: 1000; z-index: 1000;
padding: 0 .75em 0 .25em; padding: 0 .75em 0 .25em;
} }

View file

@ -108,7 +108,10 @@
$(this).remove(); $(this).remove();
}); });
$('.actionSheetMenuItem', dlg).on('click', function () { // Seeing an issue in some non-chrome browsers where this is requiring a double click
var eventName = $.browser.chrome ? 'click' : 'mousedown';
$('.actionSheetMenuItem', dlg).on(eventName, function () {
var selectedId = this.getAttribute('data-id'); var selectedId = this.getAttribute('data-id');

View file

@ -1019,6 +1019,27 @@
hammertime.on('press', onTapHold); hammertime.on('press', onTapHold);
hammertime.on('pressup', onTapHoldUp); hammertime.on('pressup', onTapHoldUp);
}); });
showTapHoldHelp();
}
function showTapHoldHelp() {
// Don't do this on the home page
if (!$.mobile.activePage || $($.mobile.activePage)[0].classList.contains('homePage')) {
return;
}
var expectedValue = "5";
if (appStorage.getItem("tapholdhelp") == expectedValue) {
return;
}
appStorage.setItem("tapholdhelp", expectedValue);
Dashboard.alert({
message: Globalize.translate('TryMultiSelectMessage'),
title: Globalize.translate('HeaderTryMultiSelect')
});
} }
function disableEvent(e) { function disableEvent(e) {

View file

@ -901,5 +901,7 @@
"HeaderEmailAddress": "E-Mail Address", "HeaderEmailAddress": "E-Mail Address",
"TextPleaseEnterYourEmailAddressForSubscription": "Please enter your e-mail address.", "TextPleaseEnterYourEmailAddressForSubscription": "Please enter your e-mail address.",
"LoginDisclaimer": "Emby is designed to help you manage your personal media library, such as home videos and photos. Please see our terms of use. Downloading any Emby software constitutes acceptance of these terms.", "LoginDisclaimer": "Emby is designed to help you manage your personal media library, such as home videos and photos. Please see our terms of use. Downloading any Emby software constitutes acceptance of these terms.",
"TermsOfUse": "Terms of use" "TermsOfUse": "Terms of use",
"HeaderTryMultiSelect": "Try Multi-Select",
"TryMultiSelectMessage": "To edit multiple media items, just click and hold any poster and select the items you want to manage. Try it!"
} }

View file

@ -748,7 +748,7 @@
"MessageForgotPasswordFileCreated": "The following file has been created on your server and contains instructions on how to proceed:", "MessageForgotPasswordFileCreated": "The following file has been created on your server and contains instructions on how to proceed:",
"MessageForgotPasswordFileExpiration": "The reset pin will expire at {0}.", "MessageForgotPasswordFileExpiration": "The reset pin will expire at {0}.",
"MessageInvalidForgotPasswordPin": "An invalid or expired pin was entered. Please try again.", "MessageInvalidForgotPasswordPin": "An invalid or expired pin was entered. Please try again.",
"MessagePasswordResetForUsers": "Passwords have been removed for the following users:", "MessagePasswordResetForUsers": "Passwords have been removed for the following users. To login, sign in with a blank password.",
"HeaderInviteGuest": "Invite Guest", "HeaderInviteGuest": "Invite Guest",
"ButtonLinkMyEmbyAccount": "Link my account now", "ButtonLinkMyEmbyAccount": "Link my account now",
"MessageConnectAccountRequiredToInviteGuest": "In order to invite guests you need to first link your Emby account to this server.", "MessageConnectAccountRequiredToInviteGuest": "In order to invite guests you need to first link your Emby account to this server.",
@ -912,5 +912,7 @@
"HeaderEmailAddress": "E-Mail Address", "HeaderEmailAddress": "E-Mail Address",
"TextPleaseEnterYourEmailAddressForSubscription": "Please enter your e-mail address.", "TextPleaseEnterYourEmailAddressForSubscription": "Please enter your e-mail address.",
"LoginDisclaimer": "Emby is designed to help you manage your personal media library, such as home videos and photos. Please see our terms of use. Downloading any Emby software constitutes acceptance of these terms.", "LoginDisclaimer": "Emby is designed to help you manage your personal media library, such as home videos and photos. Please see our terms of use. Downloading any Emby software constitutes acceptance of these terms.",
"TermsOfUse": "Terms of use" "TermsOfUse": "Terms of use",
"HeaderTryMultiSelect": "Try Multi-Select",
"TryMultiSelectMessage": "To edit multiple media items, just click and hold any poster and select the items you want to manage. Try it!"
} }