# HG changeset patch # User neko259 # Date 2015-01-18 17:45:38 # Node ID 85b490bf62a83b2dad7f46d37bcf1281a17fa3a1 # Parent a021f46c6059192dc927ff67d4c6073e5bba2948 Added line break height to SW theme. Don't get all threads when getting thread list for a page diff --git a/boards/static/css/sw/base_page.css b/boards/static/css/sw/base_page.css --- a/boards/static/css/sw/base_page.css +++ b/boards/static/css/sw/base_page.css @@ -369,3 +369,8 @@ li { #id_q { margin-left: 1ex; } + +.br { + margin-top: 0.5em; + margin-bottom: 0.5em; +} diff --git a/boards/views/all_threads.py b/boards/views/all_threads.py --- a/boards/views/all_threads.py +++ b/boards/views/all_threads.py @@ -133,5 +133,5 @@ class AllThreadsView(PostMixin, BaseBoar Gets list of threads that will be shown on a page. """ - return Thread.objects.all().order_by('-bump_time')\ + return Thread.objects.order_by('-bump_time')\ .exclude(tags__in=self.settings_manager.get_hidden_tags())