summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorparth2012-04-02 10:49:09 +0530
committerparth2012-04-02 10:49:09 +0530
commita41d7c069f31bd6c349d630734939c2a89c8c645 (patch)
tree985d5a9607a07a7ad4c13eb39961fb3c807e34b5
parent7eb5be4e88407a09e57c4391f1c609de50b1b652 (diff)
downloadaloha-a41d7c069f31bd6c349d630734939c2a89c8c645.tar.gz
aloha-a41d7c069f31bd6c349d630734939c2a89c8c645.tar.bz2
aloha-a41d7c069f31bd6c349d630734939c2a89c8c645.zip
changed download pdf link to a variable in settings
-rw-r--r--aloha/settings.py3
-rw-r--r--aloha/template/allotter/complete.html2
2 files changed, 4 insertions, 1 deletions
diff --git a/aloha/settings.py b/aloha/settings.py
index bbbd811..a1052d9 100644
--- a/aloha/settings.py
+++ b/aloha/settings.py
@@ -181,3 +181,6 @@ EMAIL_USE_TLS = False
AUTH_PROFILE_MODULE = "allotter.Profile"
LOGIN_URL = '/allotter/login'
+
+APPLICATION_PDF = "application.pdf"
+
diff --git a/aloha/template/allotter/complete.html b/aloha/template/allotter/complete.html
index 0bc1b6e..34939f4 100644
--- a/aloha/template/allotter/complete.html
+++ b/aloha/template/allotter/complete.html
@@ -65,7 +65,7 @@ will be deleted.</i></p>
</form>
<p>Click on the button <b>Download Application PDF</b> to download a PDF of the application form.</p>
-<a href="{{ STATIC_URL }}files/iiitb_voucher.pdf" class="btn" >Download Application PDF</a>
+<a href="{{ STATIC_URL }}files/{{ APPLICATION_PDF }}" class="btn" >Download Application PDF</a>
<br/> <br/>