Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Various #2327

Merged
merged 3 commits into from
Mar 22, 2024
Merged

Various #2327

Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion liberapay/payin/paypal.py
Original file line number Diff line number Diff line change
Expand Up @@ -224,7 +224,7 @@
refund_amount = refund['amount']
refund_amount = Money(refund_amount['value'], refund_amount['currency_code'])
reversed_amount += refund_amount
refund_description = refund['note_to_payer']
refund_description = refund.get('note_to_payer')

Check warning on line 227 in liberapay/payin/paypal.py

View check run for this annotation

Codecov / codecov/patch

liberapay/payin/paypal.py#L227

Added line #L227 was not covered by tests
refund_status = REFUND_STATUSES_MAP[refund['status']]
refund_error = refund.get('status_details', {}).get('reason')
payin_refund = record_payin_refund(
Expand Down
2 changes: 1 addition & 1 deletion templates/macros/team-members.html
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@
}}" placeholder="auto" />
<div class="input-group-btn">
<button class="btn btn-default" title="{{ _('Update my nominal take') }}">{{
icon('save')
icon('check-lg')
}}</button>
</div>
</div>
Expand Down
4 changes: 4 additions & 0 deletions www/%username/emails/index.spt
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,10 @@ if not participant.email_lang:
title = participant.username
subhead = _("Email settings")
emails = participant.get_emails()
emails.sort(key=lambda e: (
-(e.address == participant.email),
e.id
))
email_locale = website.locales.get(participant.email_lang) or website.locales['en']

[---] text/html
Expand Down
3 changes: 0 additions & 3 deletions www/assets/icons.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading