Commits

murarth  committed 878d164

Show 25 items by default

  • Participants
  • Parent commits d698fc9

Comments (0)

Files changed (2)

File reddish/model/__init__.py

 
 class Preferences(ModelBase, mongo.Document, Renderable):
 
-    n_items = mongo.Field(int, default = 10)
+    n_items = mongo.Field(int, default = 25)
     new_window = mongo.Field(bool)
     no_crawl = mongo.Field(bool)
     view_nsfw = mongo.Field(bool)

File reddish/templates/base.mako

         % for r in replies:
         ${show_comment(r, True, can_reply)}
         % endfor
-        % if len(comment.replies) < comment.num_replies:
+        % if parent_rendered and len(comment.replies) < comment.num_replies:
         <a href="${comment.permalink}">continue this thread</a>
         % endif
         </div>