From 9bf90b411ec2683e5f2a89c451e0a4561bbca67d Mon Sep 17 00:00:00 2001 From: James Polley Date: Fri, 13 Oct 2017 12:58:26 +1100 Subject: [PATCH 1/2] Enhance admin interface for result notifications --- vendor/symposion/reviews/admin.py | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/vendor/symposion/reviews/admin.py b/vendor/symposion/reviews/admin.py index 441db1e9..8a3f6f16 100644 --- a/vendor/symposion/reviews/admin.py +++ b/vendor/symposion/reviews/admin.py @@ -17,7 +17,12 @@ admin.site.register( list_display=['proposal', 'status', 'score', 'vote_count', 'accepted'] ) -admin.site.register(ResultNotification) +admin.site.register( + ResultNotification, + list_display=['proposal','timestamp','to_address','subject'], + search_fields = ['proposal__title','to_address','subject'], + readonly_fields = ['proposal','timestamp','template','to_address','from_address','subject','body'] +) admin.site.register( Review, From c9223aeef07e1bb52dbe1f184804ce5d1902813e Mon Sep 17 00:00:00 2001 From: James Polley Date: Fri, 13 Oct 2017 13:07:05 +1100 Subject: [PATCH 2/2] Restore datatables to review lists --- pinaxcon/templates/symposion/reviews/base.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pinaxcon/templates/symposion/reviews/base.html b/pinaxcon/templates/symposion/reviews/base.html index e1358bf8..50ed3ac9 100644 --- a/pinaxcon/templates/symposion/reviews/base.html +++ b/pinaxcon/templates/symposion/reviews/base.html @@ -61,7 +61,7 @@