Merge branch 'ticket-testing' into 'master'
Reviews enhancements See merge request LCA2018/symposion_app!64
This commit is contained in:
commit
f7993de3bb
2 changed files with 7 additions and 2 deletions
|
@ -61,7 +61,7 @@
|
|||
<script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/pdfmake/0.1.32/pdfmake.min.js"></script>
|
||||
<script type="text/javascript" src="https://cdn.datatables.net/v/bs/jszip-2.5.0/dt-1.10.16/b-1.4.2/b-html5-1.4.2/b-print-1.4.2/r-2.2.0/datatables.min.js"></script>
|
||||
<script type="text/javascript">
|
||||
$("table.table-reviewlist").dataTable({
|
||||
$("table.table-reviews").dataTable({
|
||||
"dom": "<'row'<'col-md-3'l><'col-md-3'B><'col-md-4'f>r>t<'row'<'col-md-3'i><'col-md-5'p>>",
|
||||
"stateSave": true,
|
||||
"lengthMenu": [[10, 50, 100, -1], [10, 50, 100, "All"]],
|
||||
|
|
7
vendor/symposion/reviews/admin.py
vendored
7
vendor/symposion/reviews/admin.py
vendored
|
@ -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,
|
||||
|
|
Loading…
Reference in a new issue