mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
updated nuget
This commit is contained in:
parent
de7c02af20
commit
f1e3024f71
2 changed files with 19 additions and 0 deletions
|
@ -44,6 +44,7 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
var lifeTimeAmount = 30;
|
var lifeTimeAmount = 30;
|
||||||
|
var dailyAmount = 1;
|
||||||
var monthlyAmount = 3;
|
var monthlyAmount = 3;
|
||||||
var yearlyAmount = 20;
|
var yearlyAmount = 20;
|
||||||
function getDonationAmount(page) {
|
function getDonationAmount(page) {
|
||||||
|
@ -59,6 +60,9 @@
|
||||||
if (type == 'monthly') {
|
if (type == 'monthly') {
|
||||||
return monthlyAmount;
|
return monthlyAmount;
|
||||||
}
|
}
|
||||||
|
if (type == 'daily') {
|
||||||
|
return dailyAmount;
|
||||||
|
}
|
||||||
|
|
||||||
// lifetime
|
// lifetime
|
||||||
return lifeTimeAmount;
|
return lifeTimeAmount;
|
||||||
|
@ -153,6 +157,13 @@
|
||||||
setItemNumber(page, 'MBSClubMonthly');
|
setItemNumber(page, 'MBSClubMonthly');
|
||||||
$('#oneTimeDescription').hide();
|
$('#oneTimeDescription').hide();
|
||||||
}
|
}
|
||||||
|
else if (donationType == 'daily') {
|
||||||
|
|
||||||
|
$('.fldOneTimeDonationAmount', page).hide();
|
||||||
|
addRecurringFields('D', page);
|
||||||
|
setItemNumber(page, 'MBSClubDaily');
|
||||||
|
$('#oneTimeDescription').hide();
|
||||||
|
}
|
||||||
else {
|
else {
|
||||||
// Lifetime
|
// Lifetime
|
||||||
$('.fldOneTimeDonationAmount', page).hide();
|
$('.fldOneTimeDonationAmount', page).hide();
|
||||||
|
@ -173,6 +184,7 @@
|
||||||
|
|
||||||
$('.lifetimeAmount', page).html('$' + lifeTimeAmount);
|
$('.lifetimeAmount', page).html('$' + lifeTimeAmount);
|
||||||
$('.monthlyAmount', page).html('$' + monthlyAmount);
|
$('.monthlyAmount', page).html('$' + monthlyAmount);
|
||||||
|
$('.dailyAmount', page).html('$' + dailyAmount);
|
||||||
$('.yearlyAmount', page).html('$' + yearlyAmount);
|
$('.yearlyAmount', page).html('$' + yearlyAmount);
|
||||||
|
|
||||||
$('#paypalReturnUrl', page).val(ApiClient.getUrl("supporterkey.html"));
|
$('#paypalReturnUrl', page).val(ApiClient.getUrl("supporterkey.html"));
|
||||||
|
|
|
@ -52,6 +52,13 @@
|
||||||
<span class="monthlyAmount"></span>
|
<span class="monthlyAmount"></span>
|
||||||
</label>
|
</label>
|
||||||
</div>
|
</div>
|
||||||
|
<div class="fldDaily">
|
||||||
|
<input type="radio" class="radioDonationType" name="radioDonationType" id="radioDailySupporter" value="daily">
|
||||||
|
<label for="radioDailySupporter">
|
||||||
|
Daily supporter club membership<br />
|
||||||
|
<span class="dailyAmount"></span>
|
||||||
|
</label>
|
||||||
|
</div>
|
||||||
</fieldset>
|
</fieldset>
|
||||||
<div class="fieldDescription">${LabelRecurringDonationCanBeCancelledHelp}</div>
|
<div class="fieldDescription">${LabelRecurringDonationCanBeCancelledHelp}</div>
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue