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 dailyAmount = 1;
|
||||
var monthlyAmount = 3;
|
||||
var yearlyAmount = 20;
|
||||
function getDonationAmount(page) {
|
||||
|
@ -59,6 +60,9 @@
|
|||
if (type == 'monthly') {
|
||||
return monthlyAmount;
|
||||
}
|
||||
if (type == 'daily') {
|
||||
return dailyAmount;
|
||||
}
|
||||
|
||||
// lifetime
|
||||
return lifeTimeAmount;
|
||||
|
@ -153,6 +157,13 @@
|
|||
setItemNumber(page, 'MBSClubMonthly');
|
||||
$('#oneTimeDescription').hide();
|
||||
}
|
||||
else if (donationType == 'daily') {
|
||||
|
||||
$('.fldOneTimeDonationAmount', page).hide();
|
||||
addRecurringFields('D', page);
|
||||
setItemNumber(page, 'MBSClubDaily');
|
||||
$('#oneTimeDescription').hide();
|
||||
}
|
||||
else {
|
||||
// Lifetime
|
||||
$('.fldOneTimeDonationAmount', page).hide();
|
||||
|
@ -173,6 +184,7 @@
|
|||
|
||||
$('.lifetimeAmount', page).html('$' + lifeTimeAmount);
|
||||
$('.monthlyAmount', page).html('$' + monthlyAmount);
|
||||
$('.dailyAmount', page).html('$' + dailyAmount);
|
||||
$('.yearlyAmount', page).html('$' + yearlyAmount);
|
||||
|
||||
$('#paypalReturnUrl', page).val(ApiClient.getUrl("supporterkey.html"));
|
||||
|
|
|
@ -52,6 +52,13 @@
|
|||
<span class="monthlyAmount"></span>
|
||||
</label>
|
||||
</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>
|
||||
<div class="fieldDescription">${LabelRecurringDonationCanBeCancelledHelp}</div>
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue