From 714f4481b7fdc45e8f49a5fec06fccf6e2c5ad74 Mon Sep 17 00:00:00 2001 From: Max Goodman Date: Tue, 6 Mar 2012 13:07:34 -0800 Subject: [PATCH] Add body class for messages pages. --- r2/r2/controllers/listingcontroller.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/r2/r2/controllers/listingcontroller.py b/r2/r2/controllers/listingcontroller.py index f846e998e..fedb4d94b 100644 --- a/r2/r2/controllers/listingcontroller.py +++ b/r2/r2/controllers/listingcontroller.py @@ -623,6 +623,9 @@ class MessageController(ListingController): show_nums = False render_cls = MessagePage allow_stylesheets = False + # note: this intentionally replaces the listing-page class which doesn't + # conceptually fit for styling these pages. + extra_page_classes = ['messages-page'] @property def menus(self):