From 45706074d64460d4fe76bfd8f9709359262d53ad Mon Sep 17 00:00:00 2001 From: Hiroshi Miura Date: Fri, 12 Jun 2015 08:07:49 +0900 Subject: [PATCH] admin: show review result Signed-off-by: Hiroshi Miura --- symposion/reviews/admin.py | 16 ++++++++++++++-- 1 file changed, 14 insertions(+), 2 deletions(-) diff --git a/symposion/reviews/admin.py b/symposion/reviews/admin.py index c7273ad1..a4a33844 100644 --- a/symposion/reviews/admin.py +++ b/symposion/reviews/admin.py @@ -1,6 +1,18 @@ from django.contrib import admin -from symposion.reviews.models import NotificationTemplate +from symposion.reviews.models import NotificationTemplate, ProposalResult -admin.site.register(NotificationTemplate) +admin.site.register( + NotificationTemplate, + list_display=[ + 'label', + 'from_address', + 'subject' + ] +) + +admin.site.register( + ProposalResult, + list_display=['proposal', 'status', 'score', 'vote_count', 'accepted'] +)