From bf745388baa1473feae115368179cf54bd910087 Mon Sep 17 00:00:00 2001 From: Matthijs Kooijman Date: Fri, 14 Nov 2008 14:20:06 +0100 Subject: [PATCH] Give the comments admin page custom css. --- influences/admin.py | 1 + media/base/css/admin.css | 4 ++++ 2 files changed, 5 insertions(+) create mode 100644 media/base/css/admin.css diff --git a/influences/admin.py b/influences/admin.py index f77027a..126cd5c 100644 --- a/influences/admin.py +++ b/influences/admin.py @@ -23,6 +23,7 @@ class InfluenceAdmin(admin.ModelAdmin): class Media: js = ('base/js/yahoo-dom-event.js', 'base/js/logger-debug.js') + css = {'all' : ('base/css/admin.css',)} def __call__(self, request, url): if (url and url.endswith('/comments')): diff --git a/media/base/css/admin.css b/media/base/css/admin.css new file mode 100644 index 0000000..65c082a --- /dev/null +++ b/media/base/css/admin.css @@ -0,0 +1,4 @@ +.nocomments { + padding-left: 10px; + padding-top: 10px; +} -- 2.30.2