Skip to content
Permalink
Browse files

fixing learn more link, fixing civicrm mock endpoint (#2338)

  • Loading branch information...
mekarpeles committed Aug 23, 2019
1 parent fe5e26e commit 1d2303ca9d85b6458e15b871cdeb1eb97f870ee2
Showing with 2 additions and 3 deletions.
  1. +1 −1 openlibrary/macros/LoanStatus.html
  2. +1 −2 openlibrary/plugins/upstream/account.py
@@ -91,7 +91,7 @@
<p> <p>
We don’t have this book yet. You can add it to our Lending We don’t have this book yet. You can add it to our Lending
Library with a \$50 tax deductible donation. Library with a \$50 tax deductible donation.
<a href="$$donate_url">Learn More</a> <a href="/sponsorship" target="_blank">Learn More</a>
</p> </p>
$else: $else:
<form> <form>
@@ -796,7 +796,6 @@ def GET(self):
class fake_civi(delegate.page): class fake_civi(delegate.page):
path = "/internal/fake/civicrm" path = "/internal/fake/civicrm"


@require_login
def GET(self): def GET(self):
i = web.input(entity='Contact') i = web.input(entity='Contact')
contact = { contact = {
@@ -809,7 +808,7 @@ def GET(self):
"receive_date": "2019-07-31 08:57:00", "receive_date": "2019-07-31 08:57:00",
"custom_52": "9780062457714", "custom_52": "9780062457714",
"total_amount": "50.00", "total_amount": "50.00",
"custom_54": "ol" "custom_53": "ol"
}] }]
} }
entity = contributions if i.entity == 'Contribution' else contact entity = contributions if i.entity == 'Contribution' else contact

0 comments on commit 1d2303c

Please sign in to comment.
You can’t perform that action at this time.