summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEvgeny Fadeev <evgeny.fadeev@gmail.com>2011-11-22 15:05:11 -0300
committerEvgeny Fadeev <evgeny.fadeev@gmail.com>2011-11-22 15:05:11 -0300
commit7f2aaab10159fff957301a4332154b415f05f083 (patch)
tree80b13c661e13912182d3a617d2379b5ce019a832
parent14fc18e71f598bb7548848ed0cb840693ae6b9fd (diff)
downloadaskbot-7f2aaab10159fff957301a4332154b415f05f083.tar.gz
askbot-7f2aaab10159fff957301a4332154b415f05f083.tar.bz2
askbot-7f2aaab10159fff957301a4332154b415f05f083.zip
fixed position of the question subscribe checkbox and disabled anonymous caching of question page, because it does not work properly
-rw-r--r--askbot/skins/default/media/style/style.less5
-rw-r--r--askbot/views/readers.py2
2 files changed, 6 insertions, 1 deletions
diff --git a/askbot/skins/default/media/style/style.less b/askbot/skins/default/media/style/style.less
index c2d366dd..3d436958 100644
--- a/askbot/skins/default/media/style/style.less
+++ b/askbot/skins/default/media/style/style.less
@@ -627,6 +627,11 @@ body.user-messages {
color: #777;
text-align:center;
}
+
+ /* notify by email box */
+ .notify-sidebar #question-subscribe-sidebar {
+ margin: 7px 0 0 3px;
+ }
}
.statsWidget p{
diff --git a/askbot/views/readers.py b/askbot/views/readers.py
index ec3ca57b..53ef519e 100644
--- a/askbot/views/readers.py
+++ b/askbot/views/readers.py
@@ -372,7 +372,7 @@ def tags(request):#view showing a listing of available tags - plain list
return render_into_skin('tags.html', data, request)
@csrf.csrf_protect
-@cache_page(60 * 5)
+#@cache_page(60 * 5)
def question(request, id):#refactor - long subroutine. display question body, answers and comments
"""view that displays body of the question and
all answers to it