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

limit videos for keyframe extraction

This commit is contained in:
Luke Pulverenti 2015-09-08 16:40:48 -04:00
parent 1f556561c6
commit e9daebe89d
50 changed files with 1801 additions and 211 deletions

View file

@ -136,6 +136,12 @@
html += '<p>';
html += '<paper-button raised class="secondary block btnAppUnlock"><iron-icon icon="check"></iron-icon><span>' + unlockText + '</span></paper-button>';
html += '</p>';
if (IapManager.restorePurchase) {
html += '<p>';
html += '<paper-button raised class="secondary block btnRestorePurchase" style="background-color: #673AB7;"><iron-icon icon="check"></iron-icon><span>' + Globalize.translate('ButtonRestorePreviousPurchase') + '</span></paper-button>';
html += '</p>';
}
}
if (info.enableSupporterUnlock) {
@ -183,6 +189,11 @@
IapManager.beginPurchase(info.id);
});
$('.btnRestorePurchase', elem).on('click', function () {
IapManager.restorePurchase(info.id);
});
$('.btnCancel', elem).on('click', function () {
clearCurrentDisplayingInfo();