diff --git a/dashboard-ui/bower_components/iron-behaviors/.bower.json b/dashboard-ui/bower_components/iron-behaviors/.bower.json index 9ce976fb30..7f83839174 100644 --- a/dashboard-ui/bower_components/iron-behaviors/.bower.json +++ b/dashboard-ui/bower_components/iron-behaviors/.bower.json @@ -27,14 +27,14 @@ "web-component-tester": "*", "webcomponentsjs": "webcomponents/webcomponentsjs#^0.7.0" }, - "homepage": "https://github.com/PolymerElements/iron-behaviors", + "homepage": "https://github.com/polymerelements/iron-behaviors", "_release": "1.0.9", "_resolution": { "type": "version", "tag": "v1.0.9", "commit": "4b8cab62a4916cc4b1dbd262cbb7eb1eec624b6f" }, - "_source": "git://github.com/PolymerElements/iron-behaviors.git", + "_source": "git://github.com/polymerelements/iron-behaviors.git", "_target": "^1.0.0", - "_originalSource": "PolymerElements/iron-behaviors" + "_originalSource": "polymerelements/iron-behaviors" } \ No newline at end of file diff --git a/dashboard-ui/bower_components/polymer/.bower.json b/dashboard-ui/bower_components/polymer/.bower.json index d34072056c..e08dc423fd 100644 --- a/dashboard-ui/bower_components/polymer/.bower.json +++ b/dashboard-ui/bower_components/polymer/.bower.json @@ -24,14 +24,14 @@ "web-component-tester": "*" }, "private": true, - "homepage": "https://github.com/Polymer/polymer", + "homepage": "https://github.com/polymer/polymer", "_release": "1.1.5", "_resolution": { "type": "version", "tag": "v1.1.5", "commit": "4c94736fac6681e84ec8c00da53484c5d3c2226b" }, - "_source": "git://github.com/Polymer/polymer.git", + "_source": "git://github.com/polymer/polymer.git", "_target": "^1.0.0", - "_originalSource": "Polymer/polymer" + "_originalSource": "polymer/polymer" } \ No newline at end of file diff --git a/dashboard-ui/css/librarybrowser.css b/dashboard-ui/css/librarybrowser.css index 204996ec15..cca841d0a1 100644 --- a/dashboard-ui/css/librarybrowser.css +++ b/dashboard-ui/css/librarybrowser.css @@ -1222,7 +1222,7 @@ span.itemCommunityRating:not(:empty) + .userDataIcons { left: 0; right: 0; height: 50px; - background: #388E3C; + background: #43A047; z-index: 1000; padding: 0 .75em 0 .25em; } diff --git a/dashboard-ui/scripts/actionsheet.js b/dashboard-ui/scripts/actionsheet.js index 038dbef62c..72a2f4c054 100644 --- a/dashboard-ui/scripts/actionsheet.js +++ b/dashboard-ui/scripts/actionsheet.js @@ -108,7 +108,10 @@ $(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'); diff --git a/dashboard-ui/scripts/librarylist.js b/dashboard-ui/scripts/librarylist.js index 1c9f280c0e..c41bfe84cf 100644 --- a/dashboard-ui/scripts/librarylist.js +++ b/dashboard-ui/scripts/librarylist.js @@ -1019,6 +1019,27 @@ hammertime.on('press', onTapHold); 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) { diff --git a/dashboard-ui/strings/javascript/en-US.json b/dashboard-ui/strings/javascript/en-US.json index 94a296f246..2c3d3ba57d 100644 --- a/dashboard-ui/strings/javascript/en-US.json +++ b/dashboard-ui/strings/javascript/en-US.json @@ -901,5 +901,7 @@ "HeaderEmailAddress": "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.", - "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!" } \ No newline at end of file diff --git a/dashboard-ui/strings/javascript/javascript.json b/dashboard-ui/strings/javascript/javascript.json index a40c8a4e5a..2f5f4ca722 100644 --- a/dashboard-ui/strings/javascript/javascript.json +++ b/dashboard-ui/strings/javascript/javascript.json @@ -748,7 +748,7 @@ "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}.", "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", "ButtonLinkMyEmbyAccount": "Link my account now", "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", "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.", - "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!" }