Skip to content
Permalink
Browse files

fixing learn more link, fixing civicrm mock endpoint

  • Loading branch information...
mekarpeles authored and root committed Aug 23, 2019
1 parent fe5e26e commit 2e4695285593c4f1c7ad8698d3202bed8f6c0eef
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>
We don’t have this book yet. You can add it to our Lending
Library with a \$50 tax deductible donation.
<a href="$$donate_url">Learn More</a>
<a href="/sponsorship" target="_blank">Learn More</a>
</p>
$else:
<form>
@@ -796,7 +796,6 @@ def GET(self):
class fake_civi(delegate.page):
path = "/internal/fake/civicrm"

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

0 comments on commit 2e46952

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