From 2ee1a1d34d6d527af83896ba6a4524a8391c5bba Mon Sep 17 00:00:00 2001 From: eric Date: Mon, 28 Apr 2014 15:14:46 -0400 Subject: [PATCH] one more thing - indicate that download page is missing ebook links --- frontend/templates/download.html | 3 +++ frontend/views.py | 1 + 2 files changed, 4 insertions(+) diff --git a/frontend/templates/download.html b/frontend/templates/download.html index 91115c7d..8cb58b9c 100644 --- a/frontend/templates/download.html +++ b/frontend/templates/download.html @@ -126,6 +126,9 @@ $j(document).ready(function() { {% endif %}
+ {% if testmode %} + Download links for uploaded files will appear here when campaign is launched. + {% endif %} {% if unglued_ebooks or other_ebooks or acq %} {% if unglued_ebooks %}

Download the unglued edition

diff --git a/frontend/views.py b/frontend/views.py index f7e657cf..962e4eb3 100755 --- a/frontend/views.py +++ b/frontend/views.py @@ -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