one more thing - indicate that download page is missing ebook links

pull/1/head
eric 2014-04-28 15:14:46 -04:00
parent 9287825d6e
commit 2ee1a1d34d
2 changed files with 4 additions and 0 deletions

View File

@ -126,6 +126,9 @@ $j(document).ready(function() {
</div>
{% endif %}
<div class="ebook_download_container">
{% if testmode %}
<i>Download links for uploaded files will appear here when campaign is launched.</i>
{% endif %}
{% if unglued_ebooks or other_ebooks or acq %}
{% if unglued_ebooks %}
<h3>Download the unglued edition</h3>

View File

@ -2746,6 +2746,7 @@ class DownloadView(PurchaseView):
'user_license': self.user_license,
'lib_thanked': self.lib_thanked,
'amount': self.request.session.pop('amount') if self.request.session.has_key('amount') else None,
'testmode': self.request.REQUEST.has_key('testmode'),
})
return context