##// END OF EJS Templates
Use proper settings for max landing threads. Show thread last update time instead of number of posts
neko259 -
r2001:6d66389f default
parent child Browse files
Show More
@@ -26,7 +26,8 b''
26 26 {% endif %}
27 27 {% endwith %}
28 28 <div>{{ op.thread.get_sections_str }}</div>
29 <div>{{ op.get_link_view }} +{{ op.today_post_count }}</div>
29 <div>{{ op.get_link_view }}</div>
30 <div>{{ op.thread.last_edit_time }}</div>
30 31 </div>
31 32 {% endfor %}
32 33 </div>
@@ -31,7 +31,7 b' class LandingView(BaseBoardView):'
31 31 .annotate(today_post_count=Count('thread__replies'))\
32 32 .order_by('-pub_time')
33 33
34 max_landing_threads = settings.get_int('View', 'MaxFavoriteThreads')
34 max_landing_threads = settings.get_int('View', 'MaxLandingThreads')
35 35 if max_landing_threads > 0:
36 36 ops = ops[:max_landing_threads]
37 37
General Comments 0
You need to be logged in to leave comments. Login now