admin: show review result
Signed-off-by: Hiroshi Miura <miurahr@linux.com>
This commit is contained in:
parent
7ff4c0b4ef
commit
45706074d6
1 changed files with 14 additions and 2 deletions
|
@ -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']
|
||||||
|
)
|
||||||
|
|
Loading…
Reference in a new issue