fix in comments
authorJan Szejko <jan.szejko@gmail.com>
Tue, 22 Mar 2016 13:31:38 +0000 (14:31 +0100)
committerJan Szejko <jan.szejko@gmail.com>
Tue, 22 Mar 2016 13:31:50 +0000 (14:31 +0100)
comment/views.py
edumed/static/css/base.css

index c7bd9fb..40db4b0 100644 (file)
@@ -9,7 +9,7 @@ from .models import CommentDocument as CommentDocumentModel
 
 
 class CommentDocumentList(ListView):
-    model = CommentDocument
+    model = CommentDocumentModel
 
     def get_queryset(self):
         return super(CommentDocumentList, self).get_queryset().filter(language_code=get_language())
index f718c23..463057b 100644 (file)
@@ -16,6 +16,16 @@ body {
 .clr {
   clear: both; }
 
+#ads {
+  display: inline-block;
+  width: 100%; }
+  #ads > a {
+    display: block;
+    width: 100%; }
+  #ads img {
+    display: block;
+    margin: 0 auto; }
+
 #header-wrapper {
   background-image: url(../img/header-bar.png);
   background-repeat: repeat-x;