one more thing - indicate that download page is missing ebook links
parent
9287825d6e
commit
2ee1a1d34d
|
@ -126,6 +126,9 @@ $j(document).ready(function() {
|
||||||
</div>
|
</div>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
<div class="ebook_download_container">
|
<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 or other_ebooks or acq %}
|
||||||
{% if unglued_ebooks %}
|
{% if unglued_ebooks %}
|
||||||
<h3>Download the unglued edition</h3>
|
<h3>Download the unglued edition</h3>
|
||||||
|
|
|
@ -2746,6 +2746,7 @@ class DownloadView(PurchaseView):
|
||||||
'user_license': self.user_license,
|
'user_license': self.user_license,
|
||||||
'lib_thanked': self.lib_thanked,
|
'lib_thanked': self.lib_thanked,
|
||||||
'amount': self.request.session.pop('amount') if self.request.session.has_key('amount') else None,
|
'amount': self.request.session.pop('amount') if self.request.session.has_key('amount') else None,
|
||||||
|
'testmode': self.request.REQUEST.has_key('testmode'),
|
||||||
})
|
})
|
||||||
return context
|
return context
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue