Merge pull request #79 from miurahr/show-review-result

admin: show review result
This commit is contained in:
Patrick Altman 2015-06-18 23:00:27 -05:00
commit 86669ee3d5

View file

@ -1,6 +1,18 @@
from django.contrib import admin 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']
)