mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
merge from dev
This commit is contained in:
parent
1c8f02ce0f
commit
33b01d778c
911 changed files with 34157 additions and 57125 deletions
35
dashboard-ui/components/testermessage.js
Normal file
35
dashboard-ui/components/testermessage.js
Normal file
|
@ -0,0 +1,35 @@
|
|||
(function () {
|
||||
|
||||
function onPageShow() {
|
||||
|
||||
if (!browserInfo.android) {
|
||||
return;
|
||||
}
|
||||
|
||||
var msg;
|
||||
|
||||
var settingsKey = "betatester";
|
||||
|
||||
var expectedValue = new Date().toDateString() + "6";
|
||||
if (appStorage.getItem(settingsKey) == expectedValue) {
|
||||
return;
|
||||
}
|
||||
|
||||
msg = 'At your convenience, please take a moment to visit the Emby Community and leave testing feedback related to this beta build. Your feedback will help us improve the release before it goes public. Thank you for being a part of the Emby beta test team.';
|
||||
|
||||
msg += "<br/><br/>";
|
||||
msg += '<a href="http://emby.media/community/index.php?/topic/28144-android-mobile-25" target="_blank">Visit Emby community</a>';
|
||||
|
||||
Dashboard.alert({
|
||||
message: msg,
|
||||
title: 'Hello Emby Beta Tester!',
|
||||
callback: function () {
|
||||
appStorage.setItem(settingsKey, expectedValue);
|
||||
}
|
||||
});
|
||||
|
||||
}
|
||||
|
||||
pageClassOn('pageshow', "homePage", onPageShow);
|
||||
|
||||
})();
|
Loading…
Add table
Add a link
Reference in a new issue