diff --git a/frontend/templates/download.html b/frontend/templates/download.html
index 041f93a1..75ef9339 100644
--- a/frontend/templates/download.html
+++ b/frontend/templates/download.html
@@ -55,7 +55,7 @@ $j(document).ready(function() {
{% else %}
{% endif %}
@@ -65,6 +65,9 @@ $j(document).ready(function() {
{% endif %}
+ {% if not request.user.is_authenticated %}
+ You'll need an unglue.it account to Send to Kindle.
+ {% endif %}
{% endif %}
{% if unglued_ebooks or other_ebooks %}
diff --git a/frontend/templates/kindle_response_graceful_degradation.html b/frontend/templates/kindle_response_graceful_degradation.html
index 7a3c3376..fe5bb183 100644
--- a/frontend/templates/kindle_response_graceful_degradation.html
+++ b/frontend/templates/kindle_response_graceful_degradation.html
@@ -2,7 +2,5 @@
{% block doccontent %}
{% include "kindle_response_message.html" %}
-
- You can go back to the book you were downloading.
-
+
{% endblock %}
\ No newline at end of file
diff --git a/frontend/templates/registration/login.html b/frontend/templates/registration/login.html
index c1e3080b..ba4976dd 100644
--- a/frontend/templates/registration/login.html
+++ b/frontend/templates/registration/login.html
@@ -26,14 +26,14 @@ Make sure the username box has your username, not your email -- some brow
-Forgot your password? Need an account? Other questions?
+Forgot your password? Need an account? Other questions?
{% else %}
diff --git a/static/js/sitewide1.js b/static/js/sitewide1.js
index 2a1acf2c..74b8295c 100644
--- a/static/js/sitewide1.js
+++ b/static/js/sitewide1.js
@@ -24,18 +24,20 @@ $j(document).ready(function() {
if ($j(this).attr("href").indexOf("download") !== -1) {
jQuery.getScript('/static/js/download_page.js');
jQuery.getScript('https://platform.readmill.com/send.js');
+ var work_page = $j(this).attr("href").split("download")[0];
+ $j.cookie('next', work_page, {path: '/'});
}
-
- //need to push next cookie for sign-in links
- var vars = $j(this).attr("href").split("next=");
- if (vars.length>1){
- next=vars[1];
- if(next!='') {
- next = next.replace(/[\x22\x27\x3c\x3e]/g,'');
- $j.cookie('next', next, {path: '/'});
+ else {
+ //need to push next cookie for sign-in links
+ var vars = $j(this).attr("href").split("next=");
+ if (vars.length>1){
+ next=vars[1];
+ if(next!='') {
+ next = next.replace(/[\x22\x27\x3c\x3e]/g,'');
+ $j.cookie('next', next, {path: '/'});
+ }
}
}
-
// fade-out rest of page elements on expand
$j('#feedback, #js-page-wrap, #footer').css({"opacity": "0.07"});
$j('#about_expandable').css({'position': 'absolute'});